From a1c307b441abbd40c73a1a89dd2163ad634b1b9e Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 1 Sep 2025 00:44:24 +0200 Subject: [PATCH] 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 --- lisp/lib/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/lib/config.el b/lisp/lib/config.el index bb348bcb2..9cd42b80e 100644 --- a/lisp/lib/config.el +++ b/lisp/lib/config.el @@ -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)