mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-03 11:33:37 +00:00
(rmail-summary-previous-all)
(rmail-summary-next-all): Don't move forward to the end of the buffer.
This commit is contained in:
parent
d0d74413b7
commit
cc101382e8
@ -379,11 +379,17 @@ nil for FUNCTION means all messages."
|
||||
(defun rmail-summary-next-all (&optional number)
|
||||
(interactive "p")
|
||||
(forward-line (if number number 1))
|
||||
;; It doesn't look nice to move forward past the last message line.
|
||||
(and (eobp) (> number 0)
|
||||
(forward-line -1))
|
||||
(display-buffer rmail-buffer))
|
||||
|
||||
(defun rmail-summary-previous-all (&optional number)
|
||||
(interactive "p")
|
||||
(forward-line (- (if number number 1)))
|
||||
;; It doesn't look nice to move forward past the last message line.
|
||||
(and (eobp) (< number 0)
|
||||
(forward-line -1))
|
||||
(display-buffer rmail-buffer))
|
||||
|
||||
(defun rmail-summary-next-msg (&optional number)
|
||||
|
Loading…
Reference in New Issue
Block a user