diff options
author | Kazuhiro Ito <kzhr@d1.dion.ne.jp> | 2013-12-18 13:01:30 +0800 |
---|---|---|
committer | Chong Yidong <cyd@gnu.org> | 2013-12-18 13:01:30 +0800 |
commit | 83c60f60bfa7a2f2c5d3e487e7e5c00732996815 (patch) | |
tree | 73b26d056a1ee63e329c89206ea183a5d3ff8466 /lisp/progmodes/make-mode.el | |
parent | ba874b6430893be55d48840a901aac4e64a4befc (diff) | |
download | emacs-83c60f60bfa7a2f2c5d3e487e7e5c00732996815.tar.gz |
make-mode.el (makefile-fill-paragraph): Fix infloop.
Fixes: debbugs:13914
Diffstat (limited to 'lisp/progmodes/make-mode.el')
-rw-r--r-- | lisp/progmodes/make-mode.el | 3 |
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." (point)))) (end (save-excursion - (while (= (preceding-char) ?\\) + (while (and (= (preceding-char) ?\\) + (not (eobp))) (end-of-line 2)) (point)))) (save-restriction |