changeset 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 988d8082f292
children 16c458803c32
files lisp/subr.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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.