summaryrefslogtreecommitdiff
path: root/.emacs.d/init.el
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-10-21 00:37:56 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-10-21 00:37:56 +0200
commit4db31ed091269abba3c2d5ce85efbef4ededc46f (patch)
tree85dce5d256717c8f46070fd7ca69444013b7dd0f /.emacs.d/init.el
parent66a80ffac836eafd6f477ee623721596c9158236 (diff)
downloadebsd-4db31ed091269abba3c2d5ce85efbef4ededc46f.tar.gz
Emacs: Fix launch-program
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r--.emacs.d/init.el3
1 files changed, 2 insertions, 1 deletions
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