# HG changeset patch # User Richard M. Stallman # Date 885272212 0 # Node ID cd31a4ab72de6d0f4ceef04e5f2ed4450cd2584e # Parent 988d8082f292058d71a0d3164a7721020cd843b6 (momentary-string-display): Fix backward test for whether end of message is off the screen. diff -r 988d8082f292 -r cd31a4ab72de lisp/subr.el --- 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.