[PATCH xf86-video-amdgpu] Add .dir-locals.el file with Emacs indentation settings

Alex Deucher alexdeucher at gmail.com
Thu Aug 6 06:35:06 PDT 2015


On Thu, Aug 6, 2015 at 4:21 AM, Michel Dänzer <michel at daenzer.net> wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
>
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>

Reviewed-by: Alex Deucher <alexander.deucher 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..2e58e90
> --- /dev/null
> +++ b/.dir-locals.el
> @@ -0,0 +1,12 @@
> +((nil
> +  (indent-tabs-mode . t)
> +  (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)))
> +  )
> + (makefile-mode (indent-tabs-mode . t))
> + )
> --
> 2.5.0
>
> _______________________________________________
> xorg-driver-ati mailing list
> xorg-driver-ati at lists.x.org
> http://lists.x.org/mailman/listinfo/xorg-driver-ati


More information about the xorg-driver-ati mailing list