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

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

Re: c-style (and also projectile)


From: Luca Ferrari
Subject: Re: c-style (and also projectile)
Date: Thu, 5 May 2022 17:11:21 +0200

On Thu, May 5, 2022 at 4:39 PM Robert Pluim <rpluim@gmail.com> wrote:
>
> >>>>> On Thu, 5 May 2022 16:25:10 +0200, Luca Ferrari <fluca1978@gmail.com> 
> >>>>> said:
>
>     Luca> Hi all,
>     Luca> I feel a little dumb here, but is there a way to change on the fly 
> the
>     Luca> c-style for a buffer? At the moment it seems I cannot find it.
>
> `c-set-style'? Bound to "C-c ." here.

That was easy, thank!

> ;;; Directory Local Variables
> ;;; For more information see (info "(emacs) Directory Variables")
>
> ((c-mode . ((c-file-style . "GNU")
>             (indent-tabs-mode . t))))

Great, it works greatly! Any chance it can be loaded even when using tramp?

Luca



reply via email to

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