diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2007-04-20 13:52:11 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2007-04-20 13:52:11 +0000 |
commit | 1b6c47f570061a46730a97a1fb5714e37abbae40 (patch) | |
tree | b656df543894073733667a40e1c5104dea44b911 /lisp/paren.el | |
parent | 2d0989b5d2dc000b46a167299a13936d6c7c294e (diff) | |
download | emacs-1b6c47f570061a46730a97a1fb5714e37abbae40.tar.gz |
(show-paren-function): Fix last fix.
Diffstat (limited to 'lisp/paren.el')
-rw-r--r-- | lisp/paren.el | 3 |
1 files changed, 2 insertions, 1 deletions
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)) |