From c34a966941056e0f55f59cb453d31ef0870c3a58 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 8 Sep 2010 18:14:44 +0200 Subject: [PATCH] * lisp/simple.el (blink-matching-open): Don't burp if we can't find a match. --- lisp/ChangeLog | 4 ++++ lisp/simple.el | 1 + 2 files changed, 5 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 683c6e6b688..e445641a33c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2010-09-08 Stefan Monnier + + * simple.el (blink-matching-open): Don't burp if we can't find a match. + 2010-09-08 Glenn Morris * emacs-lisp/bytecomp.el (byte-compile-report-ops): diff --git a/lisp/simple.el b/lisp/simple.el index 18b2c3a300a..36931c7777c 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -5541,6 +5541,7 @@ The function should return non-nil if the two tokens do not match.") (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. -- 2.11.4.GIT