1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(rmail-summary-scroll-msg-up, rmail-summary-scroll-msg-down): Scroll

rmail-buffer explicitly
This commit is contained in:
Karl Heuer 1994-04-25 23:11:12 +00:00
parent 06ef4a3f7e
commit 431e100fd1

View file

@ -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))))))