Skip to content

Commit 8c2e6a1

Browse files
committed
Fix byte-compile
1 parent 957a056 commit 8c2e6a1

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
@@ -5164,15 +5164,16 @@ It will show up only if current point has signature help."
51645164
(funcall action-handler action)
51655165
(lsp--send-execute-command command arguments?)))
51665166

5167-
(defun lsp-execute-command (_ command arguments)
5167+
(defun lsp-execute-command (_server command arguments)
51685168
"Execute code action COMMAND with ARGUMENTS?.
51695169
Note that this function can now longer be overloaded using
51705170
`cl-defmethod', because that proved to be a liability. Use the
51715171
:action-handlers argument of `make-lsp-client' instead."
51725172
(lsp--execute-command
51735173
(lsp-make-command :command (symbol-name command)
51745174
:arguments? arguments)))
5175-
(make-obsolete #'lsp-execute-command #'lsp--execute-command "7.1.0")
5175+
(make-obsolete 'lsp-execute-command "use `lsp--execute-command' instead."
5176+
"7.1.0")
51765177

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

0 commit comments

Comments
 (0)