Commit 9c03d478 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

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

parent 2c012c41
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.
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment