emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r115770: * net/shr.el (shr-insert): Don't infloop if


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] trunk r115770: * net/shr.el (shr-insert): Don't infloop if the width is zero.
Date: Fri, 27 Dec 2013 15:49:56 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 115770
revision-id: address@hidden
parent: address@hidden
committer: Lars Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Fri 2013-12-27 16:43:54 +0100
message:
  * net/shr.el (shr-insert): Don't infloop if the width is zero.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/net/shr.el                shr.el-20101002102929-yfzewk55rsg0mn93-1
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-12-27 12:55:26 +0000
+++ b/lisp/ChangeLog    2013-12-27 15:43:54 +0000
@@ -1,3 +1,7 @@
+2013-12-27  Lars Ingebrigtsen  <address@hidden>
+
+       * net/shr.el (shr-insert): Don't infloop if the width is zero.
+
 2013-12-27  Stefan Monnier  <address@hidden>
 
        * icomplete.el (icomplete-show-matches-on-no-input): Default to nil

=== modified file 'lisp/net/shr.el'
--- a/lisp/net/shr.el   2013-12-27 02:58:16 +0000
+++ b/lisp/net/shr.el   2013-12-27 15:43:54 +0000
@@ -456,6 +456,7 @@
       (setq shr-state nil)
       (let (found)
        (while (and (> (current-column) shr-width)
+                   (> shr-width 0)
                    (progn
                      (setq found (shr-find-fill-point))
                      (not (eolp))))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]