mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 19:29:37 +00:00
; Avoid byte-compiler warning in eglot.el
* lisp/progmodes/eglot.el (eglot): Rename INTERACTIVE to avoid byte-compiler warning. Update the doc string. (Bug#60557)
This commit is contained in:
parent
1b458aced7
commit
f367ba3ed0
1 changed files with 2 additions and 2 deletions
|
@ -1075,7 +1075,7 @@ suitable root directory for a given LSP server's purposes."
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun eglot (managed-major-mode project class contact language-id
|
(defun eglot (managed-major-mode project class contact language-id
|
||||||
&optional interactive)
|
&optional _interactive)
|
||||||
"Start LSP server in support of PROJECT's buffers under MANAGED-MAJOR-MODE.
|
"Start LSP server in support of PROJECT's buffers under MANAGED-MAJOR-MODE.
|
||||||
|
|
||||||
This starts a Language Server Protocol (LSP) server suitable for the
|
This starts a Language Server Protocol (LSP) server suitable for the
|
||||||
|
@ -1112,7 +1112,7 @@ described in `eglot-server-programs', which see.
|
||||||
LANGUAGE-ID is the language ID string to send to the server for
|
LANGUAGE-ID is the language ID string to send to the server for
|
||||||
MANAGED-MAJOR-MODE, which matters to a minority of servers.
|
MANAGED-MAJOR-MODE, which matters to a minority of servers.
|
||||||
|
|
||||||
INTERACTIVE is t if called interactively."
|
INTERACTIVE is ignored and provided for backward compatibility."
|
||||||
(interactive
|
(interactive
|
||||||
(let ((current-server (eglot-current-server)))
|
(let ((current-server (eglot-current-server)))
|
||||||
(unless (or (null current-server)
|
(unless (or (null current-server)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue