mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-03 08:30:09 +00:00
Fix new summary-line after editing an article in Gnus
* 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.
This commit is contained in:
parent
931b9f5953
commit
be64c36dd4
@ -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)))
|
||||
|
Loading…
Reference in New Issue
Block a user