From fe98a42fce0f0c8faf7635486264b9b1b016ee90 Mon Sep 17 00:00:00 2001 From: Katsumi Yamaoka Date: Thu, 11 Nov 2010 04:01:12 +0000 Subject: [PATCH] shr.el (shr-insert): Fix last change. --- lisp/gnus/shr.el | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lisp/gnus/shr.el b/lisp/gnus/shr.el index 88e078b066f..d1788c334bc 100644 --- a/lisp/gnus/shr.el +++ b/lisp/gnus/shr.el @@ -240,11 +240,10 @@ redirects somewhere else." (progn (setq found (shr-find-fill-point)) (not (eolp)))) - (unless (prog1 - found - (when (eq (preceding-char) ? ) - (delete-char -1)) - (insert "\n")) + (when (eq (preceding-char) ? ) + (delete-char -1)) + (insert "\n") + (unless found (put-text-property (1- (point)) (point) 'shr-break t) ;; No space is needed at the beginning of a line. (when (eq (following-char) ? ) -- 2.39.5