From 1b6c47f570061a46730a97a1fb5714e37abbae40 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Fri, 20 Apr 2007 13:52:11 +0000 Subject: [PATCH] (show-paren-function): Fix last fix. --- lisp/paren.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) -- 2.39.2