(blink-matching-open): Do blink if an even number of

quoting characters precede the close.
This commit is contained in:
Richard M. Stallman 1994-10-30 02:19:14 +00:00
parent 4612426413
commit 7e1ddd4548

View file

@ -2396,8 +2396,13 @@ in the mode line."
"Move cursor momentarily to the beginning of the sexp before point."
(interactive)
(and (> (point) (1+ (point-min)))
(not (memq (char-syntax (char-after (- (point) 2))) '(?/ ?\\ )))
blink-matching-paren
;; Verify an even number of quoting characters precede the close.
(= 1 (logand 1 (- (point)
(save-excursion
(forward-char -1)
(skip-syntax-backward "/\\")
(point)))))
(let* ((oldpos (point))
(blinkpos)
(mismatch))