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: Stefan Monnier
Subject: Re: Disabling automatic reindentation of the current line after a newline
Date: Tue, 25 Oct 2022 09:03:41 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>> Set `electric-indent-inhibit` to t.
>
> 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`.


        Stefan




reply via email to

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