Browse Source

supress warning of makefile

pull/1/head
10sr 12 years ago
parent
commit
64b4d274da
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      emacs.el

+ 5
- 1
emacs.el View File

@@ -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."


Loading…
Cancel
Save