(Emacs)~c-default-style: let each major-mode decide its style for itself

This commit is contained in:
2021-03-09 18:14:50 +00:00
parent 4aa6f83b48
commit 2e0aaf5b1a

View File

@@ -1934,9 +1934,7 @@ opposing style.
(c++-mode-hook . auto-fill-mode)
:init
(setq-default c-basic-offset 2)
(setq c-default-style '((java-mode . "java")
(awk-mode . "awk")
(other . "user")))
(setq c-default-style '((other . "user")))
(with-eval-after-load "prog-mode"
(+pretty/set-alist