File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -969,7 +969,8 @@ calling `remove-overlays'.")
969
969
(defvar-local lsp--virtual-buffer-point-max nil)
970
970
971
971
(cl-defgeneric lsp-execute-command (server command arguments)
972
- "Ask SERVER to execute COMMAND with ARGUMENTS.")
972
+ "Ask SERVER to execute COMMAND with ARGUMENTS."
973
+ (declare (obsolete "use `make-lsp-client' with :action-handlers instead." "7.1.0")))
973
974
974
975
(defun lsp-elt (sequence n)
975
976
"Return Nth element of SEQUENCE or nil if N is out of range."
@@ -5214,8 +5215,7 @@ It will filter by KIND if non nil."
5214
5215
(lsp--workspace-client)
5215
5216
(lsp--client-server-id))))
5216
5217
(condition-case nil
5217
- (prog1 (lsp-execute-command server-id (intern command) arguments?)
5218
- (lsp--warn "`lsp-execute-command' is deprecated"))
5218
+ (lsp-execute-command server-id (intern command) arguments?)
5219
5219
(cl-no-applicable-method
5220
5220
(if-let ((action-handler (lsp--find-action-handler command)))
5221
5221
(funcall action-handler action)
You can’t perform that action at this time.
0 commit comments