changeset 110269:39d3e1ba1931

* lisp/simple.el (blink-matching-open): Don't burp if we can't find a match.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 08 Sep 2010 18:14:44 +0200
parents b2cc1d56be0f
children c7809974cd64
files lisp/ChangeLog lisp/simple.el
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Sep 08 09:02:38 2010 -0700
+++ b/lisp/ChangeLog	Wed Sep 08 18:14:44 2010 +0200
@@ -1,3 +1,7 @@
+2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* simple.el (blink-matching-open): Don't burp if we can't find a match.
+
 2010-09-08  Glenn Morris  <rgm@gnu.org>
 
 	* emacs-lisp/bytecomp.el (byte-compile-report-ops):
--- a/lisp/simple.el	Wed Sep 08 09:02:38 2010 -0700
+++ b/lisp/simple.el	Wed Sep 08 18:14:44 2010 +0200
@@ -5541,6 +5541,7 @@
           (if (minibufferp)
               (minibuffer-message " [Unmatched parenthesis]")
             (message "Unmatched parenthesis"))))
+       ((not blinkpos) nil)
        ((pos-visible-in-window-p blinkpos)
         ;; Matching open within window, temporarily move to blinkpos but only
         ;; if `blink-matching-paren-on-screen' is non-nil.