changeset 48037:1e646259d1b2

(makefile-warn-continuations): Don't barf when there _aren't_ any suspicious continuations.
author Miles Bader <miles@gnu.org>
date Mon, 28 Oct 2002 08:15:29 +0000
parents f3899bd87ab7
children 9f1f449a32da
files lisp/progmodes/make-mode.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/make-mode.el	Mon Oct 28 07:30:33 2002 +0000
+++ b/lisp/progmodes/make-mode.el	Mon Oct 28 08:15:29 2002 +0000
@@ -1393,7 +1393,7 @@
   (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)))))))))