* wl-message.el (wl-message-next-page): Bind `window-pixel-scroll-increment'
authoryamaoka <yamaoka>
Mon, 29 Jan 2001 23:58:31 +0000 (23:58 +0000)
committeryamaoka <yamaoka>
Mon, 29 Jan 2001 23:58:31 +0000 (23:58 +0000)
 to nil while scrolling up.

wl/ChangeLog
wl/wl-message.el

index 0d4026c..5c1d596 100644 (file)
@@ -1,3 +1,8 @@
+2001-01-29  Katsumi Yamaoka    <yamaoka@jpl.org>
+
+       * wl-message.el (wl-message-next-page): Bind
+       `window-pixel-scroll-increment' to nil while scrolling up.
+
 2001-01-27  TAKAHASHI Kaoru  <kaoru@kaisei.org>
 
        * wl-vars.el (wl-save-hook): New hook.
index f90ca1d..297e4a3 100644 (file)
          (wl-message-narrow-to-page 1)
          (setq ret-val nil))
       (condition-case ()
-         (scroll-up lines)
+         (static-if (boundp 'window-pixel-scroll-increment)
+             ;; XEmacs 21.2.20 and later.
+             (let (window-pixel-scroll-increment)
+               (scroll-up lines))
+           (scroll-up lines))
        (end-of-buffer
         (goto-char (point-max))))
       (setq ret-val nil))