aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/mail/rmailsum.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el
index b0208a102c0..83ab968a654 100644
--- a/lisp/mail/rmailsum.el
+++ b/lisp/mail/rmailsum.el
@@ -1051,7 +1051,8 @@ advance to the previous message."
1051 ;; Get the proper new message number. 1051 ;; Get the proper new message number.
1052 (setq msg rmail-current-message)) 1052 (setq msg rmail-current-message))
1053 ;; Make sure that message is displayed. 1053 ;; Make sure that message is displayed.
1054 (rmail-summary-goto-msg msg))) 1054 (or (zerop msg)
1055 (rmail-summary-goto-msg msg))))
1055 1056
1056(defun rmail-summary-input (filename) 1057(defun rmail-summary-input (filename)
1057 "Run Rmail on file FILENAME." 1058 "Run Rmail on file FILENAME."