From 5cc2d1375411a20049d512c5dbd7f71cbe965d27 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 28 Oct 2002 08:17:27 +0000 Subject: [PATCH] (makefile-warn-continuations): Don't barf when there _aren't_ any suspicious continuations. --- lisp/ChangeLog | 12 +++++++++--- lisp/progmodes/make-mode.el | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b39bc02837d..8b1d519a691 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,11 +1,17 @@ +2002-10-28 Miles Bader + + * progmodes/make-mode.el (makefile-warn-continuations): Don't + barf when there _aren't_ any suspicious continuations. + 2002-10-28 Juanma Barranquero - * progmodes/compile.el (grep-find-use-xargs): Fix docstring. Patch from - Matt Swift . + * progmodes/compile.el (grep-find-use-xargs): Fix docstring. + Patch from Matt Swift . 2002-10-27 Michael Kifer - * ediff-wind.el (ediff-control-frame-parameters): added scrollbar-height. + * ediff-wind.el (ediff-control-frame-parameters): added + scrollbar-height. 2002-10-27 Andreas Schwab diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index 1a53455f534..9bc950f9be5 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el @@ -1393,7 +1393,7 @@ and generates the overview, one line per target name." (if (eq major-mode 'makefile-mode) (save-excursion (goto-char (point-min)) - (if (re-search-forward "\\\\[ \t]+$") + (if (re-search-forward "\\\\[ \t]+$" nil t) (not (y-or-n-p (format "Suspicious continuation in line %d. Save anyway? " (count-lines (point-min) (point))))))))) -- 2.39.2