bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13467: 24.3.50; Problem with `advice' show-paren-function


From: Drew Adams
Subject: bug#13467: 24.3.50; Problem with `advice' show-paren-function
Date: Wed, 16 Jan 2013 14:46:39 -0800

> >     (if (char-equal (char-syntax (char-before (point))) ?\))
> 
> What do you expect this do if called eg at point-min?
> Maybe fail with wrong-type-argument characterp nil?

E.g.,

(let ((matching-text nil)
      (cb            (char-before (point))))
  (when (and cb  (char-equal (char-syntax cb) ?\) ))
    (setq matching-text  (blink-matching-open)))
  (when matching-text (message matching-text)))






reply via email to

[Prev in Thread] Current Thread [Next in Thread]