Просмотр исходного кода

supress warning of makefile

pull/1/head
10sr 11 лет назад
Родитель
Сommit
64b4d274da
1 измененных файлов: 5 добавлений и 1 удалений
  1. +5
    -1
      emacs.el

+ 5
- 1
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."


Загрузка…
Отмена
Сохранить