aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-01-30 03:46:31 +0000
committerGlenn Morris2009-01-30 03:46:31 +0000
commitdf75fdb70d8836c4d60c4bd2529bff0690a6af7c (patch)
treea095dec34c64fc0eccad445bc8959e2867772eba
parentd1501442e0e38a084192acacd74ae2c7509f954b (diff)
downloademacs-df75fdb70d8836c4d60c4bd2529bff0690a6af7c.tar.gz
emacs-df75fdb70d8836c4d60c4bd2529bff0690a6af7c.zip
(rmail-reply): Handle empty folders.
-rw-r--r--lisp/mail/rmail.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index 2b860df5e69..789ecd484d6 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -3282,6 +3282,8 @@ Normally include CC: to all other recipients of original message;
3282prefix argument means ignore them. While composing the reply, 3282prefix argument means ignore them. While composing the reply,
3283use \\[mail-yank-original] to yank the original message into it." 3283use \\[mail-yank-original] to yank the original message into it."
3284 (interactive "P") 3284 (interactive "P")
3285 (if (zerop rmail-current-message)
3286 (error "There is no message to reply to"))
3285 (let (from reply-to cc subject date to message-id references 3287 (let (from reply-to cc subject date to message-id references
3286 resent-to resent-cc resent-reply-to 3288 resent-to resent-cc resent-reply-to
3287 (msgnum rmail-current-message)) 3289 (msgnum rmail-current-message))