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:
Henrik Lissner
2025-09-01 00:44:24 +02:00
parent 14a31db741
commit a1c307b441

View File

@@ -46,7 +46,7 @@
(with-current-buffer
(with-environment-variables
(("PATH" (string-join exec-path path-separator))
("EMACS" emacs-bin)
("EMACS" (shell-quote-argument emacs-bin))
("EMACSDIR" doom-emacs-dir)
("DOOMDIR" doom-user-dir)
("DOOMLOCALDIR" doom-local-dir)