From f660f360908a81a01336af3e0e57f2c921726430 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 28 Apr 2015 00:09:19 -0700 Subject: [PATCH] * lisp/mail/rmail.el (rmail-copy-headers): Handle rmail-nonignored-headers being nil. (Bug#18878) --- lisp/mail/rmail.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)))) -- 2.11.4.GIT