# HG changeset patch # User Richard M. Stallman # Date 817691438 0 # Node ID 197f7ae5493dc9ccacaac545fabd702d60b1b493 # Parent cb0496b988291e654db095b6d93b8029b4149413 (rmail-summary-get-new-mail): Don't call rmail-summary-goto-msg if msg is 0. diff -r cb0496b98829 -r 197f7ae5493d lisp/mail/rmailsum.el --- a/lisp/mail/rmailsum.el Wed Nov 29 21:18:05 1995 +0000 +++ b/lisp/mail/rmailsum.el Thu Nov 30 00:30:38 1995 +0000 @@ -1051,7 +1051,8 @@ ;; 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."