[Mesa-dev] [PATCH] dir-locals.el: set case-offset to 0

Kristian Høgsberg krh at bitplanet.net
Wed Feb 3 18:45:04 UTC 2016


On Wed, Feb 3, 2016 at 10:09 AM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> While this is the default, private .emacs files might have it set to
> something else. No harm in forcing it to 0.

Not my .emacs, but the patch looks good.

Reviewed-by: Kristian Høgsberg <krh at bitplanet.net>

> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
> ---
>  .dir-locals.el | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/.dir-locals.el b/.dir-locals.el
> index d95eb48..4b53931 100644
> --- a/.dir-locals.el
> +++ b/.dir-locals.el
> @@ -5,6 +5,7 @@
>    (c-file-style . "stroustrup")
>    (fill-column . 78)
>    (eval . (progn
> +           (c-set-offset 'case-label '0)
>             (c-set-offset 'innamespace '0)
>             (c-set-offset 'inline-open '0)))
>    )
> --
> 2.4.10
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list