From: Chong Yidong Date: Fri, 20 Apr 2007 13:52:11 +0000 (+0000) Subject: (show-paren-function): Fix last fix. X-Git-Tag: emacs-pretest-22.0.99~148 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1b6c47f570061a46730a97a1fb5714e37abbae40;p=emacs.git (show-paren-function): Fix last fix. --- diff --git a/lisp/paren.el b/lisp/paren.el index 17f0c401901..38ac150b402 100644 --- a/lisp/paren.el +++ b/lisp/paren.el @@ -253,7 +253,8 @@ in `show-paren-style' after `show-paren-delay' seconds of Emacs idle time." ;; 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))