From 1ea4d07d47d6e38edf41887b631571ca8f3f4083 Mon Sep 17 00:00:00 2001 From: Thierry Volpiatto Date: Mon, 24 Oct 2016 06:44:57 +0200 Subject: [PATCH] Expand file name in internal fn helm-run-or-raise (#1629). * helm-external.el (helm-run-or-raise): Do it. --- helm-external.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm-external.el b/helm-external.el index 899b2d4bc..d384d0cf2 100644 --- a/helm-external.el +++ b/helm-external.el @@ -81,7 +81,7 @@ and sets `helm-external-commands-list'." (if sort (sort completions 'string-lessp) completions))))) (defun helm-run-or-raise (exe &optional file) - "Generic command that run asynchronously EXE. + "Run asynchronously EXE or jump to the application window. If EXE is already running just jump to his window if `helm-raise-command' is non--nil. When FILE argument is provided run EXE with FILE." @@ -101,7 +101,7 @@ When FILE argument is provided run EXE with FILE." (shell-quote-argument (if (eq system-type 'windows-nt) (helm-w32-prepare-filename file) - file)))) + (expand-file-name file))))) (start-process-shell-command proc nil real-com)) (set-process-sentinel (get-process proc)