From 7518fc1221d36f911b60abcaec42759c42292d78 Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Tue, 9 Oct 2012 02:28:34 +0000 Subject: [PATCH] shr.el (shr-insert): \r is also not inserted, so don't try to delete it --- lisp/gnus/ChangeLog | 5 +++++ lisp/gnus/shr.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index f79353ebfb3..c6b2a4c37a7 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +2012-10-09 Lars Magne Ingebrigtsen + + * shr.el (shr-insert): \r is also not inserted, so don't try to delete + it. + 2012-10-06 Glenn Morris * gnus-notifications.el (gnus-notifications): diff --git a/lisp/gnus/shr.el b/lisp/gnus/shr.el index e7a6c5d2081..03704554459 100644 --- a/lisp/gnus/shr.el +++ b/lisp/gnus/shr.el @@ -391,7 +391,7 @@ size, and full-buffer size." (shr-indent)) (end-of-line)) (insert " "))) - (unless (string-match "[ \t\n ]\\'" text) + (unless (string-match "[ \t\r\n ]\\'" text) (delete-char -1))))) (defun shr-find-fill-point () -- 2.39.2