fix(lib): doom-debug-mode forgetting initial values
Of the variables that it changes (see doom-debug-variables).
This commit is contained in:
parent
48e54d3d48
commit
034ade0468
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ symbol and CDR is the value to set it to when `doom-debug-mode' is activated.")
|
|||
(set-default
|
||||
var (if (not enabled)
|
||||
(prog1 (get var 'initial-value)
|
||||
(put 'x 'initial-value nil))
|
||||
(put var 'initial-value nil))
|
||||
(put var 'initial-value (symbol-value var))
|
||||
val))
|
||||
(add-to-list 'doom-debug--undefined-vars var))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue