mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-07 12:47:30 -05:00
refactor: deprecate letenv!
`letenv!` is a layover from the days before `with-environment-variables` (introduced in 28.x), and it remained afterwards because I preferred the shorter name. From v3 and onward, Doom's core will be put on a diet which, among other things, will include culling redundant or superfluous functions/macros like this one.
This commit is contained in:
@ -49,9 +49,10 @@
|
||||
|
||||
(defun doom--sandbox-run (&optional mode)
|
||||
"TODO"
|
||||
(letenv! (("DOOMDIR" (if (eq mode 'vanilla-doom+)
|
||||
(expand-file-name "___does_not_exist___" temporary-file-directory)
|
||||
doom-user-dir)))
|
||||
(with-environment-variables
|
||||
(("DOOMDIR" (if (eq mode 'vanilla-doom+)
|
||||
(expand-file-name "___does_not_exist___" temporary-file-directory)
|
||||
doom-user-dir)))
|
||||
(doom--sandbox-launch
|
||||
(unless (memq mode '(doom vanilla-doom+)) '("-Q"))
|
||||
(let ((forms
|
||||
|
Reference in New Issue
Block a user