# HG changeset patch # User Chong Yidong # Date 1177077131 0 # Node ID 97456f440211e3fd2ab0c6f4cbdea72bb23c6069 # Parent 4682f67c94937bebe9a87f6c96b801cb89b8a3eb (show-paren-function): Fix last fix. diff -r 4682f67c9493 -r 97456f440211 lisp/paren.el --- 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))