Mercurial > emacs
changeset 7102:e3d392f28d8f
(rmail-summary-scroll-msg-up, rmail-summary-scroll-msg-down): Scroll
rmail-buffer explicitly
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Mon, 25 Apr 1994 23:11:12 +0000 |
parents | e7afa8046b41 |
children | b5fad00fa757 |
files | lisp/mail/rmailsum.el |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/mail/rmailsum.el Mon Apr 25 22:55:33 1994 +0000 +++ b/lisp/mail/rmailsum.el Mon Apr 25 23:11:12 1994 +0000 @@ -802,14 +802,15 @@ (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))))))