diff options
author | Martin Rudalics <rudalics@gmx.at> | 2008-11-04 07:27:15 +0000 |
---|---|---|
committer | Martin Rudalics <rudalics@gmx.at> | 2008-11-04 07:27:15 +0000 |
commit | 0e87e61e29ec825fb66d970360d8d3a993f0e13f (patch) | |
tree | c4a4c7f94626c9a24908333299a7d79eff45270c /lisp/electric.el | |
parent | d7377c46bc1a64286e6038747d4ae1f41e02c301 (diff) | |
download | emacs-0e87e61e29ec825fb66d970360d8d3a993f0e13f.tar.gz |
(Electric-pop-up-window): Call window-end with UPDATE set to t.
Diffstat (limited to 'lisp/electric.el')
-rw-r--r-- | lisp/electric.el | 2 |
1 files changed, 1 insertions, 1 deletions
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))) |