Skip to content

Commit

Permalink
Expand file name in internal fn helm-run-or-raise (#1629).
Browse files Browse the repository at this point in the history
* helm-external.el (helm-run-or-raise): Do it.
  • Loading branch information
Thierry Volpiatto committed Oct 24, 2016
1 parent cfd56a3 commit 1ea4d07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helm-external.el
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand All @@ -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)
Expand Down

0 comments on commit 1ea4d07

Please sign in to comment.