Explorar el Código

supress warning of makefile

pull/1/head
10sr hace 11 años
padre
commit
64b4d274da
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. +5
    -1
      emacs.el

+ 5
- 1
emacs.el Ver fichero

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


Cargando…
Cancelar
Guardar