]> git.eshelyaron.com Git - emacs.git/commitdiff
(Electric-pop-up-window): Call window-end with UPDATE set to t.
authorMartin Rudalics <rudalics@gmx.at>
Tue, 4 Nov 2008 07:27:15 +0000 (07:27 +0000)
committerMartin Rudalics <rudalics@gmx.at>
Tue, 4 Nov 2008 07:27:15 +0000 (07:27 +0000)
lisp/electric.el

index 289b6ecd147182dc7929bdf695bbb3fc98a56e43..857f7fab9dee54ba57fc8b3c080dc80f25abbb4d 100644 (file)
             (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)))