branch: elpa/zig-mode commit 87212557125ff96dc50149fc2aff24d21f74715b Merge: 8df4efd 9ca6876 Author: Andrea Orru <and...@orru.io> Commit: GitHub <nore...@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))))