From: Michel Dänzer Date: Mon, 28 Jul 2014 07:56:41 +0000 (+0900) Subject: gallium/radeon: Add some Emacs .dir-locals.el files X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d0a1a6bc05af7edd25b15ce9159025036b636ff;p=mesa.git gallium/radeon: Add some Emacs .dir-locals.el files Based on the toplevel one but adapted to the driver/winsys coding styles. Reviewed-by: Marek Olšák --- diff --git a/src/gallium/drivers/r600/.dir-locals.el b/src/gallium/drivers/r600/.dir-locals.el new file mode 100644 index 00000000000..8be6a30ac67 --- /dev/null +++ b/src/gallium/drivers/r600/.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))) + ) + ) diff --git a/src/gallium/drivers/radeon/.dir-locals.el b/src/gallium/drivers/radeon/.dir-locals.el new file mode 100644 index 00000000000..8be6a30ac67 --- /dev/null +++ b/src/gallium/drivers/radeon/.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))) + ) + ) diff --git a/src/gallium/drivers/radeonsi/.dir-locals.el b/src/gallium/drivers/radeonsi/.dir-locals.el new file mode 100644 index 00000000000..8be6a30ac67 --- /dev/null +++ b/src/gallium/drivers/radeonsi/.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))) + ) + ) diff --git a/src/gallium/winsys/radeon/.dir-locals.el b/src/gallium/winsys/radeon/.dir-locals.el new file mode 100644 index 00000000000..0e937bba36b --- /dev/null +++ b/src/gallium/winsys/radeon/.dir-locals.el @@ -0,0 +1,12 @@ +((nil + (indent-tabs-mode . nil) + (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)) + )