* net/rcirc.el (rcirc-print): Fix last change.

This commit is contained in:
Chong Yidong 2006-09-12 22:05:57 +00:00
parent fb97a80d12
commit b96572ff12
2 changed files with 8 additions and 5 deletions

View file

@ -1,3 +1,7 @@
2006-09-07 Ryan Yeske <rcyeske@gmail.com>
* net/rcirc.el (rcirc-print): Fix last change.
2006-09-12 Jay Belanger <belanger@truman.edu>
* calc/calc.el (calc-dispatch): Remove unnecessary `sit-for'.

View file

@ -1260,11 +1260,10 @@ record activity."
(with-current-buffer (window-buffer w)
(when (eq major-mode 'rcirc-mode)
(with-selected-window w
(when (<= (- (window-height)
(- (line-number-at-pos
(window-point))
(line-number-at-pos
(window-start)))
(when (<= (- (window-height)
(count-screen-lines
(window-point)
(window-start))
1)
0)
(recenter -1)))))))