diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-11-30 00:30:38 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-11-30 00:30:38 +0000 |
commit | 06fb342f476dfa26357f744a033862de666b5ce2 (patch) | |
tree | 35ac64438368567b1bbcaeac0fbf9b0877b1d792 /lisp | |
parent | 3290a75a32977287a3495d7dd3061319393a22e3 (diff) | |
download | emacs-06fb342f476dfa26357f744a033862de666b5ce2.tar.gz |
(rmail-summary-get-new-mail): Don't call rmail-summary-goto-msg if msg is 0.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mail/rmailsum.el | 3 |
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." ;; Get the proper new message number. (setq msg rmail-current-message)) ;; Make sure that message is displayed. - (rmail-summary-goto-msg msg))) + (or (zerop msg) + (rmail-summary-goto-msg msg)))) (defun rmail-summary-input (filename) "Run Rmail on file FILENAME." |