Use lsp-seq-first in ra-emacs-lsp since that's more likely to exist

This commit is contained in:
Florian Diebold 2020-01-11 23:31:16 +01:00
parent 2e09a96f82
commit c0b5d59bd6

View file

@ -68,7 +68,7 @@
(rust-analyzer--goto-lsp-loc position))))
(defun rust-analyzer--apply-source-change-command (p)
(let ((data (-> p (ht-get "arguments") (seq-first))))
(let ((data (-> p (ht-get "arguments") (lsp-seq-first))))
(rust-analyzer--apply-source-change data)))
(lsp-register-client