aboutsummaryrefslogtreecommitdiffhomepage
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorGravatar Austin Clements <amdragon@MIT.EDU>2011-06-09 21:28:51 -0400
committerGravatar Carl Worth <cworth@cworth.org>2011-06-23 16:34:57 -0700
commit53c5578c7a9c5964600645a554dc824aebbbcac2 (patch)
treeae797a9cf1abd6fa46ccadab2a3d87bbd4c6652f /.dir-locals.el
parentb4c9ee2809ab923727f30ab1b0d63cb5232478cb (diff)
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.
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el24
1 files changed, 20 insertions, 4 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index cbdb1f97..aea630bd 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -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))
+ )