changeset 77333:97456f440211

(show-paren-function): Fix last fix.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 20 Apr 2007 13:52:11 +0000
parents 4682f67c9493
children 3a49c84492d7
files lisp/paren.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/paren.el	Fri Apr 20 13:52:04 2007 +0000
+++ b/lisp/paren.el	Fri Apr 20 13:52:11 2007 +0000
@@ -253,7 +253,8 @@
 	;; force redisplay to recenter the window (since there is no
 	;; way for it to know that the overlay changes to the buffer
 	;; are harmless).  So reset the window-start.
-	(set-window-start (selected-window) window-start))
+	(unless (window-minibuffer-p)
+	  (set-window-start (selected-window) window-start)))
     ;; show-paren-mode is nil in this buffer.
     (and show-paren-overlay
 	 (delete-overlay show-paren-overlay))