Mercurial > emacs
diff lisp/subr.el @ 20687:cd31a4ab72de
(momentary-string-display): Fix backward test
for whether end of message is off the screen.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 20 Jan 1998 04:56:52 +0000 |
parents | 95e051979faf |
children | 985a277c9b9a |
line wrap: on
line diff
--- a/lisp/subr.el Mon Jan 19 23:11:18 1998 +0000 +++ b/lisp/subr.el Tue Jan 20 04:56:52 1998 +0000 @@ -809,7 +809,7 @@ (insert-before-markers string) (setq insert-end (point)) ;; If the message end is off screen, recenter now. - (if (> (window-end) insert-end) + (if (< (window-end) insert-end) (recenter (/ (window-height) 2))) ;; If that pushed message start off the screen, ;; scroll to start it at the top of the screen.