From: Karl Heuer Date: Mon, 25 Apr 1994 23:11:12 +0000 (+0000) Subject: (rmail-summary-scroll-msg-up, rmail-summary-scroll-msg-down): Scroll X-Git-Tag: emacs-19.34~8751 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=431e100fd163ec52fd1d27029ce914688e0d191d;p=emacs.git (rmail-summary-scroll-msg-up, rmail-summary-scroll-msg-down): Scroll rmail-buffer explicitly --- diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el index 2a80ff4469c..47a3e90da2a 100644 --- a/lisp/mail/rmailsum.el +++ b/lisp/mail/rmailsum.el @@ -802,14 +802,15 @@ Commands for sorting the summary: (select-window selwin)))))) (defun rmail-summary-scroll-msg-up (&optional dist) - "Scroll other window forward." + "Scroll the Rmail window forward." (interactive "P") - (scroll-other-window dist)) + (let ((other-window-scroll-buffer rmail-buffer)) + (scroll-other-window dist))) (defun rmail-summary-scroll-msg-down (&optional dist) - "Scroll other window backward." + "Scroll the Rmail window backward." (interactive "P") - (scroll-other-window + (rmail-summary-scroll-msg-up (cond ((eq dist '-) nil) ((null dist) '-) (t (- (prefix-numeric-value dist))))))