From: Miles Bader Date: Mon, 28 Oct 2002 08:17:27 +0000 (+0000) Subject: (makefile-warn-continuations): Don't barf when there _aren't_ any X-Git-Tag: ttn-vms-21-2-B4~12693 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5cc2d1375411a20049d512c5dbd7f71cbe965d27;p=emacs.git (makefile-warn-continuations): Don't barf when there _aren't_ any suspicious continuations. --- 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)))))))))