From: Katsumi Yamaoka Date: Thu, 11 Nov 2010 04:01:12 +0000 (+0000) Subject: shr.el (shr-insert): Fix last change. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~45^2~293 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fe98a42fce0f0c8faf7635486264b9b1b016ee90;p=emacs.git shr.el (shr-insert): Fix last change. --- 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) ? )