aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1995-11-30 00:30:38 +0000
committerRichard M. Stallman1995-11-30 00:30:38 +0000
commit8d908f848cb5b69743d4273b4f344af0b5fbb214 (patch)
tree62ba2a94dbac072d644bb5541f4ef81e9ca695ac
parentf76e0cd01747f7bf5eec9570f71d7d564dcb8abb (diff)
downloademacs-8d908f848cb5b69743d4273b4f344af0b5fbb214.tar.gz
emacs-8d908f848cb5b69743d4273b4f344af0b5fbb214.zip
(rmail-summary-get-new-mail): Don't call rmail-summary-goto-msg if msg is 0.
-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."