diff options
| author | Karl Heuer | 1994-04-25 23:11:12 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-04-25 23:11:12 +0000 |
| commit | 431e100fd163ec52fd1d27029ce914688e0d191d (patch) | |
| tree | 6610b85ff909719051944a6e62df72c97b6bc687 /lisp | |
| parent | 06ef4a3f7e814690a852ef8427c75b8e3c6a7900 (diff) | |
| download | emacs-431e100fd163ec52fd1d27029ce914688e0d191d.tar.gz emacs-431e100fd163ec52fd1d27029ce914688e0d191d.zip | |
(rmail-summary-scroll-msg-up, rmail-summary-scroll-msg-down): Scroll
rmail-buffer explicitly
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/mail/rmailsum.el | 9 |
1 files changed, 5 insertions, 4 deletions
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: | |||
| 802 | (select-window selwin)))))) | 802 | (select-window selwin)))))) |
| 803 | 803 | ||
| 804 | (defun rmail-summary-scroll-msg-up (&optional dist) | 804 | (defun rmail-summary-scroll-msg-up (&optional dist) |
| 805 | "Scroll other window forward." | 805 | "Scroll the Rmail window forward." |
| 806 | (interactive "P") | 806 | (interactive "P") |
| 807 | (scroll-other-window dist)) | 807 | (let ((other-window-scroll-buffer rmail-buffer)) |
| 808 | (scroll-other-window dist))) | ||
| 808 | 809 | ||
| 809 | (defun rmail-summary-scroll-msg-down (&optional dist) | 810 | (defun rmail-summary-scroll-msg-down (&optional dist) |
| 810 | "Scroll other window backward." | 811 | "Scroll the Rmail window backward." |
| 811 | (interactive "P") | 812 | (interactive "P") |
| 812 | (scroll-other-window | 813 | (rmail-summary-scroll-msg-up |
| 813 | (cond ((eq dist '-) nil) | 814 | (cond ((eq dist '-) nil) |
| 814 | ((null dist) '-) | 815 | ((null dist) '-) |
| 815 | (t (- (prefix-numeric-value dist)))))) | 816 | (t (- (prefix-numeric-value dist)))))) |