summaryrefslogtreecommitdiff
path: root/lisp/electric.el
diff options
context:
space:
mode:
authorMartin Rudalics <rudalics@gmx.at>2008-11-04 07:27:15 +0000
committerMartin Rudalics <rudalics@gmx.at>2008-11-04 07:27:15 +0000
commit0e87e61e29ec825fb66d970360d8d3a993f0e13f (patch)
treec4a4c7f94626c9a24908333299a7d79eff45270c /lisp/electric.el
parentd7377c46bc1a64286e6038747d4ae1f41e02c301 (diff)
downloademacs-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.el2
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)))