projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b682a7e
)
* lisp/gnus/message.el (message-remove-header): Don't remove things
author
Katsumi Yamaoka
<yamaoka@jpl.org>
Wed, 30 May 2018 23:30:11 +0000
(23:30 +0000)
committer
Katsumi Yamaoka
<yamaoka@jpl.org>
Wed, 30 May 2018 23:30:11 +0000
(23:30 +0000)
not looking like header (bug#31651).
lisp/gnus/message.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/message.el
b/lisp/gnus/message.el
index 0eebbe299d28b2ee55e7d54abcec28ab6cf73657..461f61f144da76cec1210848fceb8974f3b332e2 100644
(file)
--- a/
lisp/gnus/message.el
+++ b/
lisp/gnus/message.el
@@
-2431,7
+2431,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
(incf number)