diff options
| author | Stefan Monnier | 2005-11-23 15:05:27 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2005-11-23 15:05:27 +0000 |
| commit | 9c03d4785841ccfddedbf59bd56c790f8c6c1e5a (patch) | |
| tree | 0ee72d3a2c25763cafd5cdac4c1535228ec24c41 | |
| parent | 2c012c4187abd56ce418de924c69ee562551d970 (diff) | |
| download | emacs-9c03d4785841ccfddedbf59bd56c790f8c6c1e5a.tar.gz emacs-9c03d4785841ccfddedbf59bd56c790f8c6c1e5a.zip | |
(blink-matching-open): Fix off-by-one in last change.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/simple.el | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 418f28e1bd6..8d21025acd2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2005-11-23 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * simple.el (blink-matching-open): Fix off-by-one in last change. | ||
| 4 | |||
| 1 | 2005-11-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 5 | 2005-11-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 2 | 6 | ||
| 3 | * term/mac-win.el: Don't change default directory. | 7 | * term/mac-win.el: Don't change default directory. |
diff --git a/lisp/simple.el b/lisp/simple.el index a7551f4430c..9b42c756991 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -4320,7 +4320,7 @@ If nil, search stops at the beginning of the accessible portion of the buffer." | |||
| 4320 | ;; The cdr might hold a new paren-class info rather than | 4320 | ;; The cdr might hold a new paren-class info rather than |
| 4321 | ;; a matching-char info, in which case the two CDRs | 4321 | ;; a matching-char info, in which case the two CDRs |
| 4322 | ;; should match. | 4322 | ;; should match. |
| 4323 | (eq matching-paren (cdr (syntax-after oldpos))))) | 4323 | (eq matching-paren (cdr (syntax-after (1- oldpos)))))) |
| 4324 | (message "Mismatched parentheses")) | 4324 | (message "Mismatched parentheses")) |
| 4325 | ((not blinkpos) | 4325 | ((not blinkpos) |
| 4326 | (if (not blink-matching-paren-distance) | 4326 | (if (not blink-matching-paren-distance) |