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:
Henrik Lissner 2017-11-10 00:19:04 +01:00
parent 79cf78d1c6
commit a24e22cf57
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
5 changed files with 12 additions and 13 deletions

View file

@ -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