diff options
author | Glenn Morris <rgm@gnu.org> | 2015-04-28 00:09:19 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2015-04-28 00:09:19 -0700 |
commit | f660f360908a81a01336af3e0e57f2c921726430 (patch) | |
tree | 2872edbb66409de2b73934885caba8998c5b1475 /lisp/mail/rmail.el | |
parent | e82fd952f1548e3873ee78a748078ebc2eeb5119 (diff) | |
download | emacs-f660f360908a81a01336af3e0e57f2c921726430.tar.gz |
* lisp/mail/rmail.el (rmail-copy-headers):
Handle rmail-nonignored-headers being nil. (Bug#18878)
Diffstat (limited to 'lisp/mail/rmail.el')
-rw-r--r-- | lisp/mail/rmail.el | 3 |
1 files changed, 2 insertions, 1 deletions
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)))) |