diff options
author | Michael Olson <mwolson@gnu.org> | 2008-10-08 05:03:43 +0000 |
---|---|---|
committer | Michael Olson <mwolson@gnu.org> | 2008-10-08 05:03:43 +0000 |
commit | 5412419465dbb3e12d0841ab15875fa34ca6f336 (patch) | |
tree | d1a2dfc81d2475ff2fb015c6d4fec5f2676e6baa /lisp/ibuffer.el | |
parent | 1c86baa408007e4ab3774ebdb53e620eacb7a4c1 (diff) | |
download | emacs-5412419465dbb3e12d0841ab15875fa34ca6f336.tar.gz |
ibuffer: Fix issue with ERC scroll-to-bottom (Bug #858).
Diffstat (limited to 'lisp/ibuffer.el')
-rw-r--r-- | lisp/ibuffer.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el index 539f88ec3c1..262f2ad73ab 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el @@ -1153,6 +1153,9 @@ a new window in the current frame, splitting vertically." (ibuffer-redisplay t))) (defun ibuffer-shrink-to-fit (&optional owin) + ;; Make sure that redisplay is performed, otherwise there can be a + ;; bad interaction with code in the window-scroll-functions hook + (redisplay t) (fit-window-to-buffer nil (when owin (/ (frame-height) (length (window-list (selected-frame))))))) |