From be64c36dd465efd3230b9201f82afbd005a1f412 Mon Sep 17 00:00:00 2001 From: Andrew G Cohen Date: Thu, 10 Sep 2020 20:23:34 +0800 Subject: [PATCH] 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. --- lisp/gnus/gnus-sum.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index 45397b518c6..2f0ea0c58f8 100644 --- 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))) -- 2.39.5