From: Lars Magne Ingebrigtsen Date: Mon, 19 Mar 2012 12:52:53 +0000 (+0100) Subject: Fix fallout of the previous patch. X-Git-Url: https://cgit.sxemacs.org/?p=gnus;a=commitdiff_plain;h=594a4328fc44ec2499013fc28a58f7568315d4c0 Fix fallout of the previous patch. --- diff --git a/lisp/shr.el b/lisp/shr.el index 11d0f3e65..e4f6bb707 100644 --- a/lisp/shr.el +++ b/lisp/shr.el @@ -340,7 +340,7 @@ size, and full-buffer size." ((eq shr-folding-mode 'none) (insert text)) (t - (when (and (string-match "\\`[ \t\n]" text) + (when (and (string-match "\\`[ \t\n ]" text) (not (bolp)) (not (eq (char-after (1- (point))) ? ))) (insert " ")) @@ -383,7 +383,7 @@ size, and full-buffer size." (shr-indent)) (end-of-line)) (insert " "))) - (unless (string-match "[ \t\n]\\'" text) + (unless (string-match "[ \t\n ]\\'" text) (delete-char -1))))) (defun shr-find-fill-point ()