From 156b1ddf67b09ae2fabfa8ff49732fcb88072720 Mon Sep 17 00:00:00 2001 From: Florian Diebold Date: Thu, 28 Mar 2019 21:32:17 +0100 Subject: Fix emacs-lsp runnables support with native json (In that case args is a vector, which string-join doesn't like.) --- editors/emacs/ra-emacs-lsp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editors') diff --git a/editors/emacs/ra-emacs-lsp.el b/editors/emacs/ra-emacs-lsp.el index 955703edb..84c018b66 100644 --- a/editors/emacs/ra-emacs-lsp.el +++ b/editors/emacs/ra-emacs-lsp.el @@ -159,7 +159,7 @@ (interactive (list (rust-analyzer--select-runnable))) (-let (((&hash "env" "bin" "args" "label") runnable)) (compilation-start - (string-join (cons bin args) " ") + (string-join (append (list bin) args '()) " ") ;; cargo-process-mode is nice, but try to work without it... (if (functionp 'cargo-process-mode) 'cargo-process-mode nil) (lambda (_) (concat "*" label "*"))) -- cgit v1.2.3