From 64b4d274da75e5408177117eba0fd55ec99b2f0c Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Tue, 29 Jan 2013 21:37:52 +0900 Subject: [PATCH] supress warning of makefile --- emacs.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/emacs.el b/emacs.el index ed96500..8f5e9ad 100644 --- a/emacs.el +++ b/emacs.el @@ -703,7 +703,11 @@ found, otherwise returns nil." (add-hook 'makefile-mode-hook (lambda () - (define-key makefile-mode-map (kbd "C-m") 'newline-and-indent))) + (define-key makefile-mode-map (kbd "C-m") 'newline-and-indent) + ;; this functions is set in write-file-functions, i cannot find any + ;; good way to remove this. + (fset 'makefile-warn-suspicious-lines 'ignore) + )) (defun make () "Run \"make -k\" in current directory."