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

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

Re: Disabling automatic reindentation of the current line after a newlin


From: Anders Munch
Subject: Re: Disabling automatic reindentation of the current line after a newline
Date: Tue, 25 Oct 2022 13:39:06 +0000

Stefan Monnier wrote:
>> How do you do that when electric-indent-inhibit automatically becomes 
>> buffer-local when set?
>
> Same as what you do for all the vars that share this characteristic, like 
> `indent-tabs-mode`.  I.e. either set the var from a mode hook or use 
> `setq-default`.

setq-default is the missing piece that I did not know. Thank you.

regards, Anders



reply via email to

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