changeset 99362:b162bc232856

(Electric-pop-up-window): Call window-end with UPDATE set to t.
author Martin Rudalics <rudalics@gmx.at>
date Tue, 04 Nov 2008 07:27:15 +0000
parents 4203ba748ebb
children e48aaf88b6e7
files lisp/electric.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/electric.el	Tue Nov 04 07:25:26 2008 +0000
+++ b/lisp/electric.el	Tue Nov 04 07:27:15 2008 +0000
@@ -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)))