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

@ -104,7 +104,7 @@
(save-match-data
(cl-loop for env
in (cl-set-difference process-environment
doom--initial-process-environment
(get 'process-environment 'initial-value)
:test #'equal)
if (string-match "^\\([a-zA-Z0-9_]+\\)=\\(.+\\)$" env)
concat (format "%s=%s \\\n"