1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

make-mode.el (makefile-fill-paragraph): Fix infloop.

Fixes: debbugs:13914
This commit is contained in:
Kazuhiro Ito 2013-12-18 13:01:30 +08:00 committed by Chong Yidong
parent ba874b6430
commit 83c60f60bf
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
* progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
(Bug#13914).
2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
* apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).

View file

@ -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