diff --git a/etc/conf.org b/etc/conf.org index 43281b9..ab32308 100644 --- a/etc/conf.org +++ b/etc/conf.org @@ -295,7 +295,7 @@ multiple files at once for given MIMETYPE." (defun nd/execute-desktop-command (cmd file) "Opens FILE using CMD in separate process where CMD is from a desktop file exec directive." - (--> (format "'%s'" file) + (--> (shell-quote-argument file) (replace-regexp-in-string "%[fuFU]" it cmd t t) (format "%s &" it) (call-process-shell-command it)))