mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
osx: Fix unescaped shell argument in narf-open-with
This commit is contained in:
@ -65,7 +65,7 @@
|
|||||||
(buffer-file-name))))))
|
(buffer-file-name))))))
|
||||||
(command (format "open %s"
|
(command (format "open %s"
|
||||||
(if app-name
|
(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)))))
|
(format "'%s'" path)))))
|
||||||
(message "Running: %s" command)
|
(message "Running: %s" command)
|
||||||
(shell-command command)))
|
(shell-command command)))
|
||||||
|
Reference in New Issue
Block a user