emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r115585: make-mode.el (makefile-fill-paragraph): Fix


From: Chong Yidong
Subject: [Emacs-diffs] trunk r115585: make-mode.el (makefile-fill-paragraph): Fix infloop.
Date: Wed, 18 Dec 2013 05:01:34 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 115585
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/13914
author: Kazuhiro Ito <address@hidden>
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Wed 2013-12-18 13:01:30 +0800
message:
  make-mode.el (makefile-fill-paragraph): Fix infloop.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/progmodes/make-mode.el    makemode.el-20091113204419-o5vbwnq5f7feedwu-496
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-12-18 04:46:49 +0000
+++ b/lisp/ChangeLog    2013-12-18 05:01:30 +0000
@@ -1,3 +1,8 @@
+2013-12-18  Kazuhiro Ito  <address@hidden>  (tiny change)
+
+       * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
+       (Bug#13914).
+
 2013-12-18  Shigeru Fukaya <address@hidden>
 
        * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).

=== modified file 'lisp/progmodes/make-mode.el'
--- a/lisp/progmodes/make-mode.el       2013-06-15 02:25:00 +0000
+++ b/lisp/progmodes/make-mode.el       2013-12-18 05:01:30 +0000
@@ -1300,7 +1300,8 @@
                  (point))))
            (end
             (save-excursion
-              (while (= (preceding-char) ?\\)
+              (while (and (= (preceding-char) ?\\)
+                          (not (eobp)))
                 (end-of-line 2))
               (point))))
        (save-restriction


reply via email to

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