Make C setup for C mode only

This commit is contained in:
Lars Tveito 2020-03-10 20:55:10 +01:00
parent dff1b2ba3a
commit 56095aae61

View File

@ -990,7 +990,7 @@
(defun c-setup () (defun c-setup ()
(local-set-key (kbd "C-c C-c") 'compile)) (local-set-key (kbd "C-c C-c") 'compile))
(add-hook 'c-mode-common-hook 'c-setup) (add-hook 'c-mode-hook 'c-setup)
#+END_SRC #+END_SRC
Some statements in Java appear often, and become tedious to write Some statements in Java appear often, and become tedious to write