[Mesa-dev] [PATCH 1/3] nouveau: add emacs dir-locals file for tabs/8-space indents

Ilia Mirkin imirkin at alum.mit.edu
Sun Aug 10 21:38:01 PDT 2014


Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
 src/mesa/drivers/dri/nouveau/.dir-locals.el | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 src/mesa/drivers/dri/nouveau/.dir-locals.el

diff --git a/src/mesa/drivers/dri/nouveau/.dir-locals.el b/src/mesa/drivers/dri/nouveau/.dir-locals.el
new file mode 100644
index 0000000..8be6a30
--- /dev/null
+++ b/src/mesa/drivers/dri/nouveau/.dir-locals.el
@@ -0,0 +1,11 @@
+((nil
+  (indent-tabs-mode . true)
+  (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)))
+  )
+ )
-- 
1.8.5.5



More information about the mesa-dev mailing list