Commit 54124194 authored by Michael Olson's avatar Michael Olson
Browse files

ibuffer: Fix issue with ERC scroll-to-bottom (Bug #858).

parent 1c86baa4
2008-10-08 Michael Olson <>
* ibuffer.el (ibuffer-shrink-to-fit): Force redisplay, so that we
can avoid a bad interaction with programs that add functions to
the window-scroll-functions hook. This fixes Bug #858.
2008-10-07 Chong Yidong <>
* startup.el (command-line): Use display-warning to warn about an
......@@ -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)))))))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment