From 8ad6289625d1be3f82bfa5ccc84f265911874b3d Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Fri, 30 Mar 2007 15:33:01 +0000 Subject: [PATCH] (blink-matching-open): When in minibuffer, don't search for a match inside the prompt. --- lisp/ChangeLog | 9 +++++++-- lisp/simple.el | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2a2d58f51f4..7e003dfb970 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,8 +1,13 @@ +2007-03-30 Juanma Barranquero + + * simple.el (blink-matching-open): When in minibuffer, don't + search for a match inside the prompt. + 2007-03-30 Nick Roberts * tmm.el (tmm-menubar): Select the right menu item with the mouse. - (tmm-prompt): Don't make the mouse user select the first menu item - twice. + (tmm-prompt): Don't make the mouse user select the first menu + item twice. 2007-03-30 Chong Yidong diff --git a/lisp/simple.el b/lisp/simple.el index 5dbc6d1a10b..bec0d9ed5f3 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -4478,7 +4478,7 @@ it skips the contents of comments that end before point." (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 () -- 2.39.5