c, dev: Extract C config into separate file
Move configuration regarding C into its own file.
This commit is contained in:
parent
2ae2500575
commit
941b156a55
4 changed files with 8 additions and 9 deletions
6
.emacs.d/config/c.el
Normal file
6
.emacs.d/config/c.el
Normal file
|
@ -0,0 +1,6 @@
|
|||
(setq c-default-style "linux"
|
||||
c-basic-offset 2)
|
||||
|
||||
(add-hook 'c-mode-hook
|
||||
(lambda ()
|
||||
(set-fill-column 100)))
|
|
@ -55,13 +55,5 @@
|
|||
(let ((find-program "git-find"))
|
||||
(find-dired dir "")))
|
||||
|
||||
;; c
|
||||
(setq c-default-style "linux"
|
||||
c-basic-offset 2)
|
||||
|
||||
(add-hook 'c-mode-hook
|
||||
(lambda ()
|
||||
(set-fill-column 100)))
|
||||
|
||||
;; enable flyspell checks for comments in code
|
||||
(add-hook 'prog-mode-hook #'flyspell-prog-mode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue