* gnus-art.el (gnus-article-next-page-1): Because customized mode-line
authorDarren Hoo <darren.hoo@gmail.com>
Sat, 19 Feb 2011 21:18:32 +0000 (13:18 -0800)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 20 Feb 2011 01:04:28 +0000 (17:04 -0800)
face with line-width greater than zero will cause RET in gnus summary
buffer to scroll down article page-wise because auto vscroll happens,
it should be temporalily disabled when doing a scroll-up.

lisp/gnus-art.el

index 533b010..19eee78 100644 (file)
@@ -6322,7 +6322,8 @@ specifies."
 
 (defun gnus-article-next-page-1 (lines)
   (condition-case ()
-      (let ((scroll-in-place nil))
+      (let ((scroll-in-place nil)
+           (auto-window-vscroll nil))
        (scroll-up lines))
     (end-of-buffer
      ;; Long lines may cause an end-of-buffer error.