From 4db31ed091269abba3c2d5ce85efbef4ededc46f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Thu, 21 Oct 2021 00:37:56 +0200 Subject: Emacs: Fix launch-program --- .emacs.d/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.emacs.d/init.el') diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 539be13..6ce29bf 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -274,7 +274,8 @@ the only window in the frame." (let ((name command)) (when (not (string= ";" (substring command -1 nil))) (setq name (concat command "&")) - (setq command (concat "which " (car (split-string command)) ">/dev/null&&" command "&"))) + (setq command (concat "which " (car (split-string command)) + ">/dev/null&&(" command "&)"))) (make-process :name name :buffer "*launch-program*" :filter #'launch-program-filter -- cgit v1.2.3