]> git.eshelyaron.com Git - emacs.git/commitdiff
(blink-matching-open): When in minibuffer,
authorJuanma Barranquero <lekktu@gmail.com>
Fri, 30 Mar 2007 15:33:01 +0000 (15:33 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Fri, 30 Mar 2007 15:33:01 +0000 (15:33 +0000)
don't search for a match inside the prompt.

lisp/ChangeLog
lisp/simple.el

index 2a2d58f51f4fb48f5cf74bf1f239d02e2817602d..7e003dfb970049746b56f15aaff026220e7a0a17 100644 (file)
@@ -1,8 +1,13 @@
+2007-03-30  Juanma Barranquero  <lekktu@gmail.com>
+
+       * simple.el (blink-matching-open): When in minibuffer, don't
+       search for a match inside the prompt.
+
 2007-03-30  Nick Roberts  <nickrob@snap.net.nz>
 
        * 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  <cyd@stupidchicken.com>
 
index 5dbc6d1a10b72b6fd11fc55b818795340b500e24..bec0d9ed5f321ebe470feaf35d255a579223b7cc 100644 (file)
@@ -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 ()