aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2020-01-11 22:31:16 +0000
committerFlorian Diebold <[email protected]>2020-01-11 22:31:16 +0000
commitc0b5d59bd6f25a6286809cb6f3b80237203b9c79 (patch)
tree3db3b2e41c22a5bbb4efdf8f33d989d6ef1cfe37
parent2e09a96f82d4ba15de2c8b8fbbe40fd78e21c185 (diff)
Use lsp-seq-first in ra-emacs-lsp since that's more likely to exist
-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 fafb9cbe7..b41a09dea 100644
--- a/editors/emacs/ra-emacs-lsp.el
+++ b/editors/emacs/ra-emacs-lsp.el
@@ -68,7 +68,7 @@
68 (rust-analyzer--goto-lsp-loc position)))) 68 (rust-analyzer--goto-lsp-loc position))))
69 69
70(defun rust-analyzer--apply-source-change-command (p) 70(defun rust-analyzer--apply-source-change-command (p)
71 (let ((data (-> p (ht-get "arguments") (seq-first)))) 71 (let ((data (-> p (ht-get "arguments") (lsp-seq-first))))
72 (rust-analyzer--apply-source-change data))) 72 (rust-analyzer--apply-source-change data)))
73 73
74(lsp-register-client 74(lsp-register-client