Skip to content

Commit 4e766bc

Browse files
nbfalconyyoncho
authored andcommitted
Remove `lsp-execute-command' as an obsolete defun
Since it wouldn't do what it did previously (being an extension point), restoring that function doesn't actually improve backwards compatibility. Reverts 957a056.
1 parent 00a1a58 commit 4e766bc

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

lsp-mode.el

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5209,17 +5209,6 @@ It will filter by KIND if non nil."
52095209
(funcall action-handler action)
52105210
(lsp--send-execute-command command arguments?)))
52115211

5212-
(defun lsp-execute-command (_server command arguments)
5213-
"Execute code action COMMAND with ARGUMENTS?.
5214-
Note that this function can now longer be overloaded using
5215-
`cl-defmethod', because that proved to be a liability. Use the
5216-
:action-handlers argument of `make-lsp-client' instead."
5217-
(lsp--execute-command
5218-
(lsp-make-command :command (symbol-name command)
5219-
:arguments? arguments)))
5220-
(make-obsolete 'lsp-execute-command "use `lsp--execute-command' instead."
5221-
"7.1.0")
5222-
52235212
(lsp-defun lsp-execute-code-action ((action &as &CodeAction :command? :edit?))
52245213
"Execute code action ACTION.
52255214
If ACTION is not set it will be selected from `lsp-code-actions-at-point'.

0 commit comments

Comments
 (0)