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:
parent
464ce5ec02
commit
df10383a26
5 changed files with 18 additions and 18 deletions
2
bin/doom
2
bin/doom
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue