mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-23 03:18:08 +01:00
Add dir-locals style variables for C++, Elisp, and shell code.
Also, slightly reformat dir-locals.el so that the settings align and to make it friendlier for future additions.
This commit is contained in:
parent
b4c9ee2809
commit
53c5578c7a
1 changed files with 20 additions and 4 deletions
|
@ -1,7 +1,23 @@
|
|||
; emacs local configuration settings for notmuch source
|
||||
; surmised by dkg on 2010-11-23 13:43:18-0500
|
||||
; amended by amdragon on 2011-06-06
|
||||
|
||||
((c-mode . ((indent-tabs-mode . t)
|
||||
(tab-width . 8)
|
||||
(c-basic-offset . 4)
|
||||
(c-file-style . "linux"))))
|
||||
((c-mode
|
||||
(indent-tabs-mode . t)
|
||||
(tab-width . 8)
|
||||
(c-basic-offset . 4)
|
||||
(c-file-style . "linux"))
|
||||
(c++-mode
|
||||
(indent-tabs-mode . t)
|
||||
(tab-width . 8)
|
||||
(c-basic-offset . 4)
|
||||
(c-file-style . "linux"))
|
||||
(emacs-lisp-mode
|
||||
(indent-tabs-mode . t)
|
||||
(tab-width . 8))
|
||||
(shell-mode
|
||||
(indent-tabs-mode . t)
|
||||
(tab-width . 8)
|
||||
(sh-basic-offset . 4)
|
||||
(sh-indentation . 4))
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue