diff options
author | Michael Olson <mwolson@gnu.org> | 2008-10-08 05:02:09 +0000 |
---|---|---|
committer | Michael Olson <mwolson@gnu.org> | 2008-10-08 05:02:09 +0000 |
commit | 43b78a9be74201c32ec938d02f8a66237f1572e5 (patch) | |
tree | 6f3e28826cdcbc1178598738941512ccffaf0ddb /lisp/ibuffer.el | |
parent | 2a6cd0eb9fdca76ce1a0d54029098c7ca97b208c (diff) | |
download | emacs-43b78a9be74201c32ec938d02f8a66237f1572e5.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))))))) |