(gnus-article-next-page): Scroll up LINES if `pos-visible-in-window-p'
authorczkmt <czkmt>
Sat, 15 Jan 2000 10:42:22 +0000 (10:42 +0000)
committerczkmt <czkmt>
Sat, 15 Jan 2000 10:42:22 +0000 (10:42 +0000)
returns nil.

lisp/gnus-art.el

index f7b5fff..a327e5e 100644 (file)
@@ -3844,7 +3844,8 @@ Argument LINES specifies lines to be scrolled up."
        (forward-line 1)
        (setq start nil))
       (unless (or (cond ((eq (1+ (buffer-size)) (point))
-                        (setq end-of-buffer t))
+                        (and (pos-visible-in-window-p)
+                             (setq end-of-buffer t)))
                        ((eobp)
                         (setq end-of-page t)))
                  (not lines))