Personalizzazioni per emacs
This commit is contained in:
10
.emacs.rc/ccmode-rc.el
Normal file
10
.emacs.rc/ccmode-rc.el
Normal file
@@ -0,0 +1,10 @@
|
||||
(setq-default c-basic-offset 4
|
||||
c-default-style '((java-mode . "java")
|
||||
(awk-mode . "awk")
|
||||
(other . "bsd")))
|
||||
|
||||
(add-to-list 'auto-mode-alist '("\\.h\\'" . c++-mode))
|
||||
|
||||
(add-hook 'c-mode-hook (lambda ()
|
||||
(interactive)
|
||||
(c-toggle-comment-style -1)))
|
||||
Reference in New Issue
Block a user