# HG changeset patch # User Miles Bader # Date 1035792929 0 # Node ID 1e646259d1b2298db7b8188036318a3c4486102e # Parent f3899bd87ab72bfbfc5e3c2b261bdb846b4ac910 (makefile-warn-continuations): Don't barf when there _aren't_ any suspicious continuations. diff -r f3899bd87ab7 -r 1e646259d1b2 lisp/progmodes/make-mode.el --- 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)))))))))