* rmail.el (rmail-first-unseen-message): Don't show the message,
just return its number, if there was an unseen message. (rmail): Check for unseen messages before calling rmail-get-new-mail. After getting the new mail, call rmail-show-message to show the pre-existing unseen message, or if that is nil, the current message, which rmail-get-new-mail sets to the first new message.
Showing with 17 additions and 6 deletions