Fix wrong-type-arg lsp--client in set-lsp-priority!

This commit is contained in:
Henrik Lissner 2020-05-09 01:37:40 -04:00
parent ba0c89288d
commit e2b5f50e7b
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -5,7 +5,7 @@
"Change the PRIORITY of lsp CLIENT." "Change the PRIORITY of lsp CLIENT."
(require 'lsp-mode) (require 'lsp-mode)
(if-let (client (gethash client lsp-clients)) (if-let (client (gethash client lsp-clients))
(setf (lsp--client-priority (gethash client lsp-clients)) (setf (lsp--client-priority client)
priority) priority)
(error "No LSP client named %S" client))) (error "No LSP client named %S" client)))