[Mesa-dev] [PATCH 1/3] nouveau: add emacs dir-locals file for tabs/8-space indents
Francisco Jerez
currojerez at riseup.net
Tue Aug 12 23:44:56 PDT 2014
Ilia Mirkin <imirkin at alum.mit.edu> writes:
> 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)))
These have no effect on C code AFAICT. With that fixed:
Reviewed-by: Francisco Jerez <currojerez at riseup.net>
> + )
> + )
> --
> 1.8.5.5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 212 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140813/791b1cac/attachment.sig>
More information about the mesa-dev
mailing list