Browse Source

fix makefile-mode keybind

pull/1/head
10sr 11 years ago
parent
commit
c32ec252bb
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      emacs.el

+ 4
- 0
emacs.el View File

@@ -693,6 +693,10 @@ delete; o: select other; j, l: enlarge; h, k: shrink; q: quit."

(require 'simple nil t)

(add-hook 'makefile-mode-hook
(lambda ()
(define-key makefile-mode-map (kbd "C-m") 'newline-and-indent)))

(defun make ()
"Run \"make -k \" in current directory."
(interactive)


Loading…
Cancel
Save