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

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

[nongnu] elpa/zig-mode 8721255 079/104: Merge pull request #34 from jdpa


From: ELPA Syncer
Subject: [nongnu] elpa/zig-mode 8721255 079/104: Merge pull request #34 from jdpage/shell-quoting
Date: Sun, 29 Aug 2021 11:37:06 -0400 (EDT)

branch: elpa/zig-mode
commit 87212557125ff96dc50149fc2aff24d21f74715b
Merge: 8df4efd 9ca6876
Author: Andrea Orru <andrea@orru.io>
Commit: GitHub <noreply@github.com>

    Merge pull request #34 from jdpage/shell-quoting
    
    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 288cb75..7a44807 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]