projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
931b9f5
)
Fix new summary-line after editing an article in Gnus
author
Andrew G Cohen
<cohen@andy.bu.edu>
Thu, 10 Sep 2020 12:23:34 +0000
(20:23 +0800)
committer
Andrew G Cohen
<cohen@andy.bu.edu>
Thu, 10 Sep 2020 12:23:34 +0000
(20:23 +0800)
* lisp/gnus/gnus-sum.el (gnus-summary-edit-article-done): Strip ^M
from the ends of lines after saving an edited article. Otherwise the
new header isn't always parsed properly, resulting in an incorrect
subject line in the summary buffer.
lisp/gnus/gnus-sum.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/gnus-sum.el
b/lisp/gnus/gnus-sum.el
index 45397b518c6c8617ebbaf34e13689a6a7fffcf46..2f0ea0c58f8c2a9fd18b21dc260aef8662d22ee7 100644
(file)
--- a/
lisp/gnus/gnus-sum.el
+++ b/
lisp/gnus/gnus-sum.el
@@
-10708,6
+10708,7
@@
groups."
;; We only have to update this line.
(save-excursion
(save-restriction
+ (nnheader-ms-strip-cr)
(message-narrow-to-head)
(let ((head (buffer-substring-no-properties
(point-min) (point-max)))