Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
54124194
Commit
54124194
authored
Oct 08, 2008
by
Michael Olson
Browse files
ibuffer: Fix issue with ERC scroll-to-bottom (Bug #858).
parent
1c86baa4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
lisp/ChangeLog
lisp/ChangeLog
+6
-0
lisp/ibuffer.el
lisp/ibuffer.el
+3
-0
No files found.
lisp/ChangeLog
View file @
54124194
2008-10-08 Michael Olson <mwolson@gnu.org>
* 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 <cyd@stupidchicken.com>
* startup.el (command-line): Use display-warning to warn about an
...
...
lisp/ibuffer.el
View file @
54124194
...
...
@@ -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
)))))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment