(rmail-reply): Handle empty folders.

This commit is contained in:
Glenn Morris 2009-01-30 03:46:31 +00:00
parent d1501442e0
commit df75fdb70d

View file

@ -3282,6 +3282,8 @@ Normally include CC: to all other recipients of original message;
prefix argument means ignore them. While composing the reply,
use \\[mail-yank-original] to yank the original message into it."
(interactive "P")
(if (zerop rmail-current-message)
(error "There is no message to reply to"))
(let (from reply-to cc subject date to message-id references
resent-to resent-cc resent-reply-to
(msgnum rmail-current-message))