]> git.eshelyaron.com Git - emacs.git/commitdiff
* net/shr.el (shr-insert): Don't infloop if the width is zero.
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 27 Dec 2013 15:43:54 +0000 (16:43 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 27 Dec 2013 15:43:54 +0000 (16:43 +0100)
lisp/ChangeLog
lisp/net/shr.el

index 2782cc4e64ca63218de8fd61726c00f22caa0da7..861b3ba3d60e42f07d863e002d0b7846a139895a 100644 (file)
@@ -1,3 +1,7 @@
+2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * net/shr.el (shr-insert): Don't infloop if the width is zero.
+
 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
index 1a555100a21aa4e36b0ed3fdd7b56adb5c593971..b29ae6ce848d8a2416e6c0685022eb99d9a803b8 100644 (file)
@@ -456,6 +456,7 @@ size, and full-buffer size."
       (setq shr-state nil)
       (let (found)
        (while (and (> (current-column) shr-width)
+                   (> shr-width 0)
                    (progn
                      (setq found (shr-find-fill-point))
                      (not (eolp))))