From a24603ab69a72fc693119f2885e76ebfad1dbc4f Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Tue, 6 Mar 2012 07:17:32 -0500 Subject: [PATCH] * progmodes/make-mode.el (makefile-warn-suspicious-lines): improve whitespace check. Organization: Private Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Signed-off-by: Jari Aalto --- lisp/progmodes/make-mode.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index b4ca1ba..de57cd1 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el @@ -1642,7 +1642,7 @@ and generates the overview, one line per target name." (if (derived-mode-p 'makefile-mode) (save-excursion (goto-char (point-min)) - (if (re-search-forward "^\\(\t+$\\| +\t\\)" nil t) + (if (re-search-forward "^\\([ \t]+$\\| +\t\\)" nil t) (not (y-or-n-p (format "Suspicious line %d. Save anyway? " (count-lines (point-min) (point))))))))) -- 1.7.9.1