Mercurial > emacs
changeset 88205:f400fb7ee08a
(rmail): Fix last fix.
author | Henrik Enberg <henrik.enberg@telia.com> |
---|---|
date | Wed, 18 Jan 2006 19:27:36 +0000 |
parents | cfd79a3dbf73 |
children | fdaa84109d39 |
files | lisp/mail/rmail.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/mail/rmail.el Wed Jan 18 12:15:47 2006 +0000 +++ b/lisp/mail/rmail.el Wed Jan 18 19:27:36 2006 +0000 @@ -843,7 +843,8 @@ ;; If new mail was found, display of the correct message was done ;; elsewhere. (unless new-mail - (rmail-show-message (rmail-first-unseen-message))) + (rmail-show-message (or (rmail-first-unseen-message) + rmail-total-messages))) (rmail-construct-io-menu) ;; Run any callbacks if the buffer was not in rmail-mode (if run-mail-hook