Skip to content

Commit 00a1a58

Browse files
nbfalconyyoncho
authored andcommitted
Fix byte-compile
1 parent 1767902 commit 00a1a58

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lsp-mode.el

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5209,15 +5209,16 @@ 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 (_ command arguments)
5212+
(defun lsp-execute-command (_server command arguments)
52135213
"Execute code action COMMAND with ARGUMENTS?.
52145214
Note that this function can now longer be overloaded using
52155215
`cl-defmethod', because that proved to be a liability. Use the
52165216
:action-handlers argument of `make-lsp-client' instead."
52175217
(lsp--execute-command
52185218
(lsp-make-command :command (symbol-name command)
52195219
:arguments? arguments)))
5220-
(make-obsolete #'lsp-execute-command #'lsp--execute-command "7.1.0")
5220+
(make-obsolete 'lsp-execute-command "use `lsp--execute-command' instead."
5221+
"7.1.0")
52215222

52225223
(lsp-defun lsp-execute-code-action ((action &as &CodeAction :command? :edit?))
52235224
"Execute code action ACTION.

0 commit comments

Comments
 (0)