osx: Fix unescaped shell argument in narf-open-with
This commit is contained in:
parent
072d2e65f5
commit
0efb822671
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@
|
|||
(buffer-file-name))))))
|
||||
(command (format "open %s"
|
||||
(if app-name
|
||||
(format "-a %s %s" (shell-quote-argument app-name) path)
|
||||
(format "-a %s '%s'" (shell-quote-argument app-name) path)
|
||||
(format "'%s'" path)))))
|
||||
(message "Running: %s" command)
|
||||
(shell-command command)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue