1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-12 16:23:57 +00:00

(blink-matching-open): Fix off-by-one in last change.

This commit is contained in:
Stefan Monnier 2005-11-23 15:05:27 +00:00
parent 2c012c4187
commit 9c03d47858
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
* simple.el (blink-matching-open): Fix off-by-one in last change.
2005-11-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* term/mac-win.el: Don't change default directory.

View File

@ -4320,7 +4320,7 @@ If nil, search stops at the beginning of the accessible portion of the buffer."
;; The cdr might hold a new paren-class info rather than
;; a matching-char info, in which case the two CDRs
;; should match.
(eq matching-paren (cdr (syntax-after oldpos)))))
(eq matching-paren (cdr (syntax-after (1- oldpos))))))
(message "Mismatched parentheses"))
((not blinkpos)
(if (not blink-matching-paren-distance)