* lisp/mail/rmail.el (rmail-copy-headers):

Handle rmail-nonignored-headers being nil.  (Bug#18878)
This commit is contained in:
Glenn Morris 2015-04-28 00:09:19 -07:00
parent e82fd952f1
commit f660f36090

View file

@ -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))))