From 56095aae618e2976db7f17634bba0e71275327b5 Mon Sep 17 00:00:00 2001 From: Lars Tveito Date: Tue, 10 Mar 2020 20:55:10 +0100 Subject: [PATCH] Make C setup for C mode only --- init.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.org b/init.org index 7784892..6e5ac76 100644 --- a/init.org +++ b/init.org @@ -990,7 +990,7 @@ (defun c-setup () (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 Some statements in Java appear often, and become tedious to write