[Mesa-dev] [PATCH] swr: [rasterizer] add a .dir-locals.el to support 4-space indents

Rowley, Timothy O timothy.o.rowley at intel.com
Wed Nov 9 17:41:51 UTC 2016


A couple good additions would be  “(indent-tabs-mode . nil)” and a "(show-trailing-whitespace . t)”.

With that, Reviewed-by: Tim Rowley <timothy.o.rowley at intel.com<mailto:timothy.o.rowley at intel.com>>

On Nov 9, 2016, at 11:08 AM, Ilia Mirkin <imirkin at alum.mit.edu<mailto:imirkin at alum.mit.edu>> wrote:

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu<mailto:imirkin at alum.mit.edu>>
---
src/gallium/drivers/swr/rasterizer/.dir-locals.el | 6 ++++++
1 file changed, 6 insertions(+)
create mode 100644 src/gallium/drivers/swr/rasterizer/.dir-locals.el

diff --git a/src/gallium/drivers/swr/rasterizer/.dir-locals.el b/src/gallium/drivers/swr/rasterizer/.dir-locals.el
new file mode 100644
index 0000000..63613a9
--- /dev/null
+++ b/src/gallium/drivers/swr/rasterizer/.dir-locals.el
@@ -0,0 +1,6 @@
+((prog-mode
+  (c-basic-offset . 4)
+  (c-file-style . "k&r")
+  (fill-column . 78)
+  )
+ )
--
2.7.3


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161109/0e8c5f74/attachment-0001.html>


More information about the mesa-dev mailing list