From: Martin Rudalics Date: Tue, 4 Nov 2008 07:27:15 +0000 (+0000) Subject: (Electric-pop-up-window): Call window-end with UPDATE set to t. X-Git-Tag: emacs-pretest-23.0.90~1988 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0e87e61e29ec825fb66d970360d8d3a993f0e13f;p=emacs.git (Electric-pop-up-window): Call window-end with UPDATE set to t. --- 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)))