emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/zig-mode 9ca6876 072/104: Quote arguments passed to zig vi


From: ELPA Syncer
Subject: [nongnu] elpa/zig-mode 9ca6876 072/104: Quote arguments passed to zig via the compile function
Date: Sun, 29 Aug 2021 11:37:05 -0400 (EDT)

branch: elpa/zig-mode
commit 9ca6876afdb91a5a0060113fee6dfef9332503a5
Author: Jonathan David Page <jonathan@sleepingcyb.org>
Commit: Jonathan David Page <jonathan@sleepingcyb.org>

    Quote arguments passed to zig via the compile function
---
 zig-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/zig-mode.el b/zig-mode.el
index f3b4c14..9cb57e7 100644
--- a/zig-mode.el
+++ b/zig-mode.el
@@ -57,7 +57,7 @@
 If given a SOURCE, execute the CMD on it."
   (let ((cmd-args
          (if source
-             (mapconcat 'identity (cons source args) " ")
+             (mapconcat 'shell-quote-argument (cons source args) " ")
            args)))
     (compile (concat zig-zig-bin " " cmd " " cmd-args))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]