From c0b5d59bd6f25a6286809cb6f3b80237203b9c79 Mon Sep 17 00:00:00 2001 From: Florian Diebold Date: Sat, 11 Jan 2020 23:31:16 +0100 Subject: Use lsp-seq-first in ra-emacs-lsp since that's more likely to exist --- editors/emacs/ra-emacs-lsp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editors/emacs') 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 @@ (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 -- cgit v1.2.3