summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2007-03-30 15:33:01 +0000
committerJuanma Barranquero <lekktu@gmail.com>2007-03-30 15:33:01 +0000
commit8ad6289625d1be3f82bfa5ccc84f265911874b3d (patch)
tree94a09b39c1b4b2e2a69b891213a60b05e1b8bd90 /lisp
parent573e00ef11e3be64f8cce153bd528a2258503d73 (diff)
downloademacs-8ad6289625d1be3f82bfa5ccc84f265911874b3d.tar.gz
emacs-8ad6289625d1be3f82bfa5ccc84f265911874b3d.tar.bz2
emacs-8ad6289625d1be3f82bfa5ccc84f265911874b3d.zip
(blink-matching-open): When in minibuffer,
don't search for a match inside the prompt.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog9
-rw-r--r--lisp/simple.el2
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 <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>
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 ()