summaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2015-08-06 17:20:22 +0900
committerMichel Dänzer <michel@daenzer.net>2015-08-06 17:20:22 +0900
commitcac553d3b691d26eaad24fbdcba06097b6728a6d (patch)
treef645217bcaf7c0efe5b30be14d25c1a1fed75490 /.dir-locals.el
parentea32253541959cc36a40fb0118200a8f493dc98a (diff)
Add .dir-locals.el file with Emacs indentation settings
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644
index 0000000..2e58e90
--- /dev/null
+++ b/.dir-locals.el
@@ -0,0 +1,12 @@
+((nil
+ (indent-tabs-mode . t)
+ (tab-width . 8)
+ (c-basic-offset . 8)
+ (c-file-style . "stroustrup")
+ (fill-column . 78)
+ (eval . (progn
+ (c-set-offset 'innamespace '0)
+ (c-set-offset 'inline-open '0)))
+ )
+ (makefile-mode (indent-tabs-mode . t))
+ )