[PATCH] Add Emacs .dir-local.el file

Michel Dänzer michel at daenzer.net
Wed Jul 30 01:06:29 PDT 2014


From: Michel Dänzer <michel.daenzer at amd.com>

Based on the one from the Gallium radeon winsys, but enabling tabs for
indentation.

Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
---
 .dir-locals.el | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 .dir-locals.el

diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644
index 0000000..cbbe7f7
--- /dev/null
+++ b/.dir-locals.el
@@ -0,0 +1,12 @@
+((nil
+  (indent-tabs-mode . t)
+  (tab-width . 8)
+  (c-basic-offset . 4)
+  (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))
+ )
-- 
2.0.1



More information about the xorg-driver-ati mailing list