From: Juanma Barranquero Date: Fri, 30 Mar 2007 15:33:01 +0000 (+0000) Subject: (blink-matching-open): When in minibuffer, X-Git-Tag: emacs-pretest-22.0.97~118 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8ad6289625d1be3f82bfa5ccc84f265911874b3d;p=emacs.git (blink-matching-open): When in minibuffer, don't search for a match inside the prompt. --- 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 ()