Use symbol plists instead of internal variables

More in line with Emacs' built-in practice of storing a variable's
standard-value in a symbol property of the same name, with the added
benefit of less global state.
This commit is contained in:
Henrik Lissner 2021-05-05 15:55:44 -04:00
parent 464ce5ec02
commit df10383a26
5 changed files with 18 additions and 18 deletions

View file

@ -60,8 +60,7 @@
forms
`(progn
;; doom variables
(setq doom--initial-load-path load-path
doom-debug-p t
(setq doom-debug-p t
doom-emacs-dir ,doom-emacs-dir
doom-cache-dir ,(expand-file-name "cache/" doom-sandbox-dir)
doom-etc-dir ,(expand-file-name "etc/" doom-sandbox-dir))
@ -74,8 +73,8 @@
after-init-time nil
init-file-debug doom-debug-p
noninteractive nil
process-environment ',doom--initial-process-environment
exec-path ',doom--initial-exec-path
process-environment (get 'process-environment 'initial-value)
exec-path (get 'exec-path 'initial-value)
load-path ',load-path
user-init-file load-file-name)
;; package.el