diff options
| author | Martin Rudalics | 2008-11-04 07:27:15 +0000 |
|---|---|---|
| committer | Martin Rudalics | 2008-11-04 07:27:15 +0000 |
| commit | 0e87e61e29ec825fb66d970360d8d3a993f0e13f (patch) | |
| tree | c4a4c7f94626c9a24908333299a7d79eff45270c | |
| parent | d7377c46bc1a64286e6038747d4ae1f41e02c301 (diff) | |
| download | emacs-0e87e61e29ec825fb66d970360d8d3a993f0e13f.tar.gz emacs-0e87e61e29ec825fb66d970360d8d3a993f0e13f.zip | |
(Electric-pop-up-window): Call window-end with UPDATE set to t.
| -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 @@ | |||
| 155 | (switch-to-buffer buf))) | 155 | (switch-to-buffer buf))) |
| 156 | ;; Don't shrink the window, but expand it if necessary. | 156 | ;; Don't shrink the window, but expand it if necessary. |
| 157 | (goto-char (point-min)) | 157 | (goto-char (point-min)) |
| 158 | (unless (= (point-max) (window-end win)) | 158 | (unless (= (point-max) (window-end win t)) |
| 159 | (fit-window-to-buffer win max-height)) | 159 | (fit-window-to-buffer win max-height)) |
| 160 | win))) | 160 | win))) |
| 161 | 161 | ||