mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08: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:
parent
14a31db741
commit
a1c307b441
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue