Commit 431e100f authored by Karl Heuer's avatar Karl Heuer
Browse files

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

rmail-buffer explicitly
parent 06ef4a3f
......@@ -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")
(cond ((eq dist '-) nil)
((null dist) '-)
(t (- (prefix-numeric-value dist))))))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment