1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

shr.el (shr-insert): \r is also not inserted, so don't try to delete it

This commit is contained in:
Lars Magne Ingebrigtsen 2012-10-09 02:28:34 +00:00 committed by Katsumi Yamaoka
parent a4ff7fe145
commit 7518fc1221
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
* shr.el (shr-insert): \r is also not inserted, so don't try to delete
it.
2012-10-06 Glenn Morris <rgm@gnu.org> 2012-10-06 Glenn Morris <rgm@gnu.org>
* gnus-notifications.el (gnus-notifications): * gnus-notifications.el (gnus-notifications):

View File

@ -391,7 +391,7 @@ size, and full-buffer size."
(shr-indent)) (shr-indent))
(end-of-line)) (end-of-line))
(insert " "))) (insert " ")))
(unless (string-match "[ \t\n ]\\'" text) (unless (string-match "[ \t\r\n ]\\'" text)
(delete-char -1))))) (delete-char -1)))))
(defun shr-find-fill-point () (defun shr-find-fill-point ()