Improve idempotency of Doom config (in case of reloading)
This commit is contained in:
parent
48cb10a9cc
commit
67dab98859
4 changed files with 18 additions and 17 deletions
|
@ -1020,7 +1020,7 @@ Do not use this for configuring Doom core."
|
|||
(defun ,fn ,arglist
|
||||
,docstring
|
||||
,@forms)
|
||||
(cl-pushnew ',(cons keyword fn) doom-settings :test #'eq :key #'car))))
|
||||
(map-put doom-settings ,keyword #',fn))))
|
||||
|
||||
(defmacro set! (keyword &rest values)
|
||||
"Set an option defined by `def-setting!'. Skip if doesn't exist. See
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue