Mercurial > emacs
changeset 88310:3a8dcdafba19
(rmail-convert-mbox-format): Handle mails without subject.
author | Alex Schroeder <alex@gnu.org> |
---|---|
date | Wed, 01 Feb 2006 19:26:18 +0000 |
parents | 14a21dca4b07 |
children | fa5dc8645397 |
files | lisp/mail/rmail.el |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/mail/rmail.el Wed Feb 01 17:25:07 2006 +0000 +++ b/lisp/mail/rmail.el Wed Feb 01 19:26:18 2006 +0000 @@ -1995,8 +1995,9 @@ ;; Convert encoded-words in from and subject (dolist (header '("From" "Subject")) (let ((value (rmail-header-get-header header))) - (rmail-header-add-header - header (mail-decode-encoded-word-string value)))) + (when value + (rmail-header-add-header + header (mail-decode-encoded-word-string value))))) ;; Convert quoted printable transfer encoding because it ;; is easy to do. (let ((encoding (rmail-header-get-header