Why are Java and C coupled?

This commit is contained in:
larstvei 2022-09-17 13:16:27 +02:00
parent eb68b6421d
commit f866d1f089

View File

@ -956,7 +956,7 @@
(lambda () (setq forward-sexp-function nil))) (lambda () (setq forward-sexp-function nil)))
#+END_SRC #+END_SRC
** Java and C ** C
The =c-mode-common-hook= is a general hook that work on all C-like The =c-mode-common-hook= is a general hook that work on all C-like
languages (C, C++, Java, etc...). I like being able to quickly compile languages (C, C++, Java, etc...). I like being able to quickly compile
@ -969,6 +969,8 @@
(add-hook 'c-mode-hook 'c-setup) (add-hook 'c-mode-hook 'c-setup)
#+END_SRC #+END_SRC
** Java
Some statements in Java appear often, and become tedious to write Some statements in Java appear often, and become tedious to write
out. We can use abbrevs to speed this up. out. We can use abbrevs to speed this up.