help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: c-style configuration based on a project/folder


From: Eli Zaretskii
Subject: Re: c-style configuration based on a project/folder
Date: Mon, 21 Feb 2022 18:58:24 +0200

> From: Luca Ferrari <fluca1978@gmail.com>
> Date: Mon, 21 Feb 2022 16:58:05 +0100
> 
> Hi all,
> I don't know if this is possible, or better, of course it is possible
> using Emacs, but I don't know how.
> As per subject: is there a way to define the c-style (indentation,
> braces, spaces, ecc.) on a per-project basis? I mean either by root
> directory or by projectile (I cannot find anything like that in the
> projectile documentation).

See the documentation of the .dir-locals.el file, for one way.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]