Better electric-indent uninhibiter
Will now work in C modes as well as Csharp, Java and Python; possibly others that forcibly set electric-indent-inhibit.
This commit is contained in:
parent
aa9c4f63ed
commit
6fc7b8c1c4
2 changed files with 1 additions and 2 deletions
|
@ -17,6 +17,7 @@ Enables `electric-indent-local-mode' in MODES.
|
|||
(unintern fn nil))
|
||||
((fset fn
|
||||
(lambda ()
|
||||
(setq-local electric-indent-inhibit nil)
|
||||
(cl-destructuring-bind (&key chars words) plist
|
||||
(electric-indent-local-mode +1)
|
||||
(if chars (setq electric-indent-chars chars))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue