From 6624ce05bf2c6158953b9ab0023f6b43551d16dd Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Sat, 30 Mar 2024 14:32:15 -0400 Subject: [PATCH] FIX another quoting bug --- etc/conf.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)))