From: Richard M. Stallman Date: Tue, 5 Jul 1994 21:02:48 +0000 (+0000) Subject: (gnus-mail-reply-using-mhe): Handle case of no subject. X-Git-Tag: emacs-19.34~7703 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ba9f641384fa026c784473fda90b2a000ee43073;p=emacs.git (gnus-mail-reply-using-mhe): Handle case of no subject. --- diff --git a/lisp/gnusmail.el b/lisp/gnusmail.el index bc906d5f29d..b8f62346565 100644 --- a/lisp/gnusmail.el +++ b/lisp/gnusmail.el @@ -152,7 +152,8 @@ The command \\[mh-yank-cur-msg] yank the original message into current buffer." (save-restriction (gnus-article-show-all-headers) ;I don't think this is really needed. (setq from (gnus-fetch-field "from") - subject (let ((subject (gnus-fetch-field "subject"))) + subject (let ((subject (or (gnus-fetch-field "subject") + "(None)"))) (if (and subject (not (string-match "^[Rr][Ee]:.+$" subject))) (concat "Re: " subject) subject))