Skip to content

Commit d1d4a8d

Browse files
committed
Fix byte-compile
1 parent 7dd2d9d commit d1d4a8d

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
@@ -5172,15 +5172,16 @@ 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 (_ command arguments)
5175+
(defun lsp-execute-command (_server command arguments)
51765176
"Execute code action COMMAND with ARGUMENTS?.
51775177
Note that this function can now longer be overloaded using
51785178
`cl-defmethod', because that proved to be a liability. Use the
51795179
:action-handlers argument of `make-lsp-client' instead."
51805180
(lsp--execute-command
51815181
(lsp-make-command :command (symbol-name command)
51825182
:arguments? arguments)))
5183-
(make-obsolete #'lsp-execute-command #'lsp--execute-command "7.1.0")
5183+
(make-obsolete 'lsp-execute-command "use `lsp--execute-command' instead."
5184+
"7.1.0")
51845185

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

0 commit comments

Comments
 (0)