cl-pushnew => push
Now that doom//byte-compile and doom//reload-autoloads always run in an isolated Emacs session, there is little need to ensure idempotency of the current session's state.
This commit is contained in:
parent
79cf78d1c6
commit
a24e22cf57
5 changed files with 12 additions and 13 deletions
|
@ -16,7 +16,7 @@
|
|||
(backward-word)
|
||||
(looking-at-p
|
||||
(concat "\\<" (regexp-opt doom-electric-indent-words))))))
|
||||
(cl-pushnew #'+electric-indent|char electric-indent-functions :test #'eq)
|
||||
(push #'+electric-indent|char electric-indent-functions)
|
||||
|
||||
(def-setting! :electric (modes &rest plist)
|
||||
"Declare :words (list of strings) or :chars (lists of chars) in MODES that
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue