From 0e87e61e29ec825fb66d970360d8d3a993f0e13f Mon Sep 17 00:00:00 2001 From: Martin Rudalics Date: Tue, 4 Nov 2008 07:27:15 +0000 Subject: [PATCH] (Electric-pop-up-window): Call window-end with UPDATE set to t. --- lisp/electric.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/electric.el b/lisp/electric.el index 289b6ecd147..857f7fab9de 100644 --- a/lisp/electric.el +++ b/lisp/electric.el @@ -155,7 +155,7 @@ (switch-to-buffer buf))) ;; Don't shrink the window, but expand it if necessary. (goto-char (point-min)) - (unless (= (point-max) (window-end win)) + (unless (= (point-max) (window-end win t)) (fit-window-to-buffer win max-height)) win))) -- 2.39.2