changeset 76803:ee4ef15d1a2c

(blink-matching-open): When in minibuffer, don't search for a match inside the prompt.
author Juanma Barranquero <lekktu@gmail.com>
date Fri, 30 Mar 2007 15:30:26 +0000
parents 293d8ec25f85
children 2e059045b3c3
files lisp/simple.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/simple.el	Fri Mar 30 06:11:38 2007 +0000
+++ b/lisp/simple.el	Fri Mar 30 15:30:26 2007 +0000
@@ -4478,7 +4478,7 @@
       (save-excursion
 	(save-restriction
 	  (if blink-matching-paren-distance
-	      (narrow-to-region (max (point-min)
+	      (narrow-to-region (max (minibuffer-prompt-end)
 				     (- (point) blink-matching-paren-distance))
 				oldpos))
 	  (condition-case ()