From: Glenn Morris Date: Tue, 28 Apr 2015 07:09:19 +0000 (-0700) Subject: * lisp/mail/rmail.el (rmail-copy-headers): X-Git-Tag: emacs-25.0.90~2270 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f660f360908a81a01336af3e0e57f2c921726430;p=emacs.git * lisp/mail/rmail.el (rmail-copy-headers): Handle rmail-nonignored-headers being nil. (Bug#18878) --- diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 43abc128c8a..a76c31defaf 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -2942,7 +2942,8 @@ buffer to the end of the headers." (1+ (match-beginning 0)) (point-max)))) (if (and (looking-at ignored-headers) - (not (looking-at rmail-nonignored-headers))) + (not (and rmail-nonignored-headers + (looking-at rmail-nonignored-headers)))) (goto-char lim) (append-to-buffer rmail-view-buffer (point) lim) (goto-char lim))))