summaryrefslogtreecommitdiff
path: root/lisp/gnus/shr.el
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <larsi@gnus.org>2012-10-09 02:28:34 +0000
committerKatsumi Yamaoka <yamaoka@jpl.org>2012-10-09 02:28:34 +0000
commit7518fc1221d36f911b60abcaec42759c42292d78 (patch)
treed4f578424ccf092af0d3e9a6aa705fb3b8dbdcc0 /lisp/gnus/shr.el
parenta4ff7fe1452e56d2c11ca31652bd145868e87e17 (diff)
downloademacs-7518fc1221d36f911b60abcaec42759c42292d78.tar.gz
shr.el (shr-insert): \r is also not inserted, so don't try to delete it
Diffstat (limited to 'lisp/gnus/shr.el')
-rw-r--r--lisp/gnus/shr.el2
1 files changed, 1 insertions, 1 deletions
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 ()