diff lisp/paren.el @ 77333:97456f440211

(show-paren-function): Fix last fix.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 20 Apr 2007 13:52:11 +0000
parents 276c15b45d4b
children 5d313ba2e8de e6fdae9180d4
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))