# HG changeset patch # User Katsumi Yamaoka # Date 1289448072 0 # Node ID cd618db8e6532a52abb57ad2fe6374a7cb42c36f # Parent 175c03267666a73d8a297224a4a7e23bc7d74b5b shr.el (shr-insert): Fix last change. diff -r 175c03267666 -r cd618db8e653 lisp/gnus/shr.el --- a/lisp/gnus/shr.el Wed Nov 10 19:59:04 2010 -0800 +++ b/lisp/gnus/shr.el Thu Nov 11 04:01:12 2010 +0000 @@ -240,11 +240,10 @@ (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) ? )