]> git.eshelyaron.com Git - emacs.git/commitdiff
(rmail-summary-scroll-msg-up, rmail-summary-scroll-msg-down): Scroll
authorKarl Heuer <kwzh@gnu.org>
Mon, 25 Apr 1994 23:11:12 +0000 (23:11 +0000)
committerKarl Heuer <kwzh@gnu.org>
Mon, 25 Apr 1994 23:11:12 +0000 (23:11 +0000)
rmail-buffer explicitly

lisp/mail/rmailsum.el

index 2a80ff4469cfa4e43d0e749df8781e8a6d3afe11..47a3e90da2a32d3c99f1bd3e6340128625b04e7a 100644 (file)
@@ -802,14 +802,15 @@ Commands for sorting the summary:
          (select-window selwin))))))
 \f
 (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))))))