|
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
[Prev in Thread] | Current Thread | [Next in Thread] |