diff options
author | Glenn Morris <rgm@gnu.org> | 2018-06-02 10:25:50 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2018-06-02 10:25:50 -0700 |
commit | 42a851c6347bb45a2fb8acdb0d2a1ca468ecefd3 (patch) | |
tree | bfd595460df8864956639fecc13636a94d413212 /lisp/gnus/message.el | |
parent | 4a7e74fea687011ee81dcbb02294bccd99b3a05f (diff) | |
parent | ca3f0a8343c125a44845d21808ab0e35b87533db (diff) | |
download | emacs-42a851c6347bb45a2fb8acdb0d2a1ca468ecefd3.tar.gz emacs-42a851c6347bb45a2fb8acdb0d2a1ca468ecefd3.tar.bz2 emacs-42a851c6347bb45a2fb8acdb0d2a1ca468ecefd3.zip |
Merge from origin/emacs-26
ca3f0a8 ; * etc/NEWS: Belated announcement of 2 changes made in Emacs...
99f92da Improve documentation of 'directory-files-and-attributes'
df8649a * lisp/gnus/message.el (message-remove-header): Don't remove ...
b682a7e ; * etc/NEWS: Add headings for Emacs 26.2
aa175a4 Adapt hexl-mode to native line-number display
b8e7749 Fix example in Tramp manual
f212fe5 Handle case where Xft is found but not XRender
186280f * doc/misc/tramp.texi (Frequently Asked Questions): Adapt zsh...
24ba633 Improve read-multiple-choice docstring (Bug#31628)
Conflicts:
etc/NEWS
src/dired.c
Diffstat (limited to 'lisp/gnus/message.el')
-rw-r--r-- | lisp/gnus/message.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 7cc4d61e308..dde9c28656c 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el @@ -2422,7 +2422,9 @@ Return the number of headers removed." (while (and (not (eobp)) (not last)) (if (if reverse - (not (looking-at regexp)) + (and (not (looking-at regexp)) + ;; Don't remove things not looking like header. + (looking-at "[!-9;-~]+:")) (looking-at regexp)) (progn (cl-incf number) |