branch: elpa/zig-mode commit 9ca6876afdb91a5a0060113fee6dfef9332503a5 Author: Jonathan David Page <jonat...@sleepingcyb.org> Commit: Jonathan David Page <jonat...@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))))