aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorKazuhiro Ito2013-12-18 13:01:30 +0800
committerChong Yidong2013-12-18 13:01:30 +0800
commit83c60f60bfa7a2f2c5d3e487e7e5c00732996815 (patch)
tree73b26d056a1ee63e329c89206ea183a5d3ff8466 /lisp/progmodes
parentba874b6430893be55d48840a901aac4e64a4befc (diff)
downloademacs-83c60f60bfa7a2f2c5d3e487e7e5c00732996815.tar.gz
emacs-83c60f60bfa7a2f2c5d3e487e7e5c00732996815.zip
make-mode.el (makefile-fill-paragraph): Fix infloop.
Fixes: debbugs:13914
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/make-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el
index 3c0871e57b6..01d1e76457d 100644
--- a/lisp/progmodes/make-mode.el
+++ b/lisp/progmodes/make-mode.el
@@ -1300,7 +1300,8 @@ Fill comments, backslashed lines, and variable definitions specially."
1300 (point)))) 1300 (point))))
1301 (end 1301 (end
1302 (save-excursion 1302 (save-excursion
1303 (while (= (preceding-char) ?\\) 1303 (while (and (= (preceding-char) ?\\)
1304 (not (eobp)))
1304 (end-of-line 2)) 1305 (end-of-line 2))
1305 (point)))) 1306 (point))))
1306 (save-restriction 1307 (save-restriction