mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(lib): doom-debug-mode forgetting initial values
Of the variables that it changes (see doom-debug-variables).
This commit is contained in:
@ -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))))
|
||||
|
Reference in New Issue
Block a user