diff options
| author | Glenn Morris | 2009-01-30 03:46:31 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-01-30 03:46:31 +0000 |
| commit | df75fdb70d8836c4d60c4bd2529bff0690a6af7c (patch) | |
| tree | a095dec34c64fc0eccad445bc8959e2867772eba | |
| parent | d1501442e0e38a084192acacd74ae2c7509f954b (diff) | |
| download | emacs-df75fdb70d8836c4d60c4bd2529bff0690a6af7c.tar.gz emacs-df75fdb70d8836c4d60c4bd2529bff0690a6af7c.zip | |
(rmail-reply): Handle empty folders.
| -rw-r--r-- | lisp/mail/rmail.el | 2 |
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; | |||
| 3282 | prefix argument means ignore them. While composing the reply, | 3282 | prefix argument means ignore them. While composing the reply, |
| 3283 | use \\[mail-yank-original] to yank the original message into it." | 3283 | use \\[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)) |