From: yamaoka Date: Mon, 29 Jan 2001 23:58:31 +0000 (+0000) Subject: * wl-message.el (wl-message-next-page): Bind `window-pixel-scroll-increment' X-Git-Tag: wl-2_6-root~136 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=314a4705b90208325b965aa75198d987039c1066;p=elisp%2Fwanderlust.git * wl-message.el (wl-message-next-page): Bind `window-pixel-scroll-increment' to nil while scrolling up. --- diff --git a/wl/ChangeLog b/wl/ChangeLog index 0d4026c..5c1d596 100644 --- a/wl/ChangeLog +++ b/wl/ChangeLog @@ -1,3 +1,8 @@ +2001-01-29 Katsumi Yamaoka + + * wl-message.el (wl-message-next-page): Bind + `window-pixel-scroll-increment' to nil while scrolling up. + 2001-01-27 TAKAHASHI Kaoru * wl-vars.el (wl-save-hook): New hook. diff --git a/wl/wl-message.el b/wl/wl-message.el index f90ca1d..297e4a3 100644 --- a/wl/wl-message.el +++ b/wl/wl-message.el @@ -286,7 +286,11 @@ (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))