mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-06 15:13:33 -05:00
fix(lib): doom/reload: quote $EMACS
With af4cbc7, escaping and quoting in $EMACS is now respected by bin/doom; so make use of it to fix issues with $EMACS paths/commands that contain spaces. Ref: af4cbc7791d2 Fix: #8475 Fix: #8403
This commit is contained in:
@@ -46,7 +46,7 @@
|
|||||||
(with-current-buffer
|
(with-current-buffer
|
||||||
(with-environment-variables
|
(with-environment-variables
|
||||||
(("PATH" (string-join exec-path path-separator))
|
(("PATH" (string-join exec-path path-separator))
|
||||||
("EMACS" emacs-bin)
|
("EMACS" (shell-quote-argument emacs-bin))
|
||||||
("EMACSDIR" doom-emacs-dir)
|
("EMACSDIR" doom-emacs-dir)
|
||||||
("DOOMDIR" doom-user-dir)
|
("DOOMDIR" doom-user-dir)
|
||||||
("DOOMLOCALDIR" doom-local-dir)
|
("DOOMLOCALDIR" doom-local-dir)
|
||||||
|
Reference in New Issue
Block a user