Commit Graph

12 Commits

Author SHA1 Message Date
7baeb20ac9 Refactor set-electric! #4031 2020-10-05 20:55:09 -04:00
6d3df42352 More conservative electric-indent-local-mode
Prevent them from propagating to derived modes (I'm looking at you c
modes!)
2019-03-02 01:36:53 -05:00
6fc7b8c1c4 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.
2019-02-27 18:38:28 -05:00
b56639e31b Remove deprecated set! & def-setting! macros 2019-01-05 17:48:46 -05:00
51190fa771 More descriptive signature for set-electric!
And mention that electric-indent-local-mode is enabled by this in its
docstring.
2018-10-16 18:30:44 -04:00
5531d7115a Fix indentation for many autodef setters 2018-06-22 01:49:21 +02:00
22c145105d Add unset capability to set-electric! 2018-06-22 01:49:21 +02:00
17981d6a61 Conform hook names to conventions
Also minor reformatting & comment corrections.
2018-06-17 02:25:12 +02:00
f81a0e6f41 Remove redundant def-setting! docstrings
def-setting! will now grab the autodef's docstring if it has an
:obsolete property defined.
2018-06-15 16:54:39 +02:00
51aa60d67d Fix set-electric! complaining about :char
A typo! Should be :chars
2018-06-15 16:50:39 +02:00
cccccbb3fd set-electric!: fix & improve error handling 2018-06-15 16:20:20 +02:00
c22b3da9f9 Move emacs/electric-indent to emacs/electric
This module will later be expanded to customize more of electric's
functionality.
2018-06-15 16:20:20 +02:00