Skip to content

Commit f8a85ec

Browse files
committed
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 d1d4a8d commit f8a85ec

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
@@ -5172,17 +5172,6 @@ It will show up only if current point has signature help."
51725172
(funcall action-handler action)
51735173
(lsp--send-execute-command command arguments?)))
51745174

5175-
(defun lsp-execute-command (_server command arguments)
5176-
"Execute code action COMMAND with ARGUMENTS?.
5177-
Note that this function can now longer be overloaded using
5178-
`cl-defmethod', because that proved to be a liability. Use the
5179-
:action-handlers argument of `make-lsp-client' instead."
5180-
(lsp--execute-command
5181-
(lsp-make-command :command (symbol-name command)
5182-
:arguments? arguments)))
5183-
(make-obsolete 'lsp-execute-command "use `lsp--execute-command' instead."
5184-
"7.1.0")
5185-
51865175
(lsp-defun lsp-execute-code-action ((action &as &CodeAction :command? :edit?))
51875176
"Execute code action ACTION.
51885177
If ACTION is not set it will be selected from `lsp-code-actions-at-point'."

0 commit comments

Comments
 (0)