aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-03-28 20:35:03 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-03-28 20:35:03 +0000
commit849d7428aa6b733d452b2ebc55ec322d96345f49 (patch)
tree0469985069591d41ae15394becc84affd92f7ade /editors
parent2a770190b07ee43364a66a65b886f7efa822ec6f (diff)
parent156b1ddf67b09ae2fabfa8ff49732fcb88072720 (diff)
Merge #1071
1071: Fix emacs-lsp runnables support with native json r=matklad a=flodiebold (In that case args is a vector, which string-join doesn't like.) Co-authored-by: Florian Diebold <[email protected]>
Diffstat (limited to 'editors')
-rw-r--r--editors/emacs/ra-emacs-lsp.el2
1 files changed, 1 insertions, 1 deletions
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 @@
159 (interactive (list (rust-analyzer--select-runnable))) 159 (interactive (list (rust-analyzer--select-runnable)))
160 (-let (((&hash "env" "bin" "args" "label") runnable)) 160 (-let (((&hash "env" "bin" "args" "label") runnable))
161 (compilation-start 161 (compilation-start
162 (string-join (cons bin args) " ") 162 (string-join (append (list bin) args '()) " ")
163 ;; cargo-process-mode is nice, but try to work without it... 163 ;; cargo-process-mode is nice, but try to work without it...
164 (if (functionp 'cargo-process-mode) 'cargo-process-mode nil) 164 (if (functionp 'cargo-process-mode) 'cargo-process-mode nil)
165 (lambda (_) (concat "*" label "*"))) 165 (lambda (_) (concat "*" label "*")))