[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/net/rcirc.el,v
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/net/rcirc.el,v |
Date: |
Tue, 12 Sep 2006 22:05:58 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Chong Yidong <cyd> 06/09/12 22:05:57
Index: net/rcirc.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/net/rcirc.el,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -b -r1.28 -r1.29
--- net/rcirc.el 12 Sep 2006 16:48:55 -0000 1.28
+++ net/rcirc.el 12 Sep 2006 22:05:57 -0000 1.29
@@ -1261,10 +1261,9 @@
(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)))
+ (count-screen-lines
+ (window-point)
+ (window-start))
1)
0)
(recenter -1)))))))