Merge branch 'master' of https://git.gnus.org/gnus
authorKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 25 Nov 2010 14:41:22 +0000 (14:41 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 25 Nov 2010 14:41:22 +0000 (14:41 +0000)
lisp/ChangeLog
lisp/shr.el

index c6e7108..85d900b 100644 (file)
@@ -1,3 +1,7 @@
+2010-11-25  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * shr.el (shr-insert): Fix the way to fold lines.
+
 2010-11-25  Julien Danjou  <julien@danjou.info>
 
        * shr-color.el (shr-color->hexadecimal): Use color-rgb->hex
index 9078e52..1746c9a 100644 (file)
@@ -254,7 +254,7 @@ redirects somewhere else."
        (while (and (> (current-column) shr-width)
                    (progn
                      (setq found (shr-find-fill-point))
-                     (not (eolp))))
+                     (not (or (bolp) (eolp)))))
          (when (eq (preceding-char) ? )
            (delete-char -1))
          (insert "\n")