emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 f367ba3ed0: ; Avoid byte-compiler warning in eglot.el


From: Eli Zaretskii
Subject: emacs-29 f367ba3ed0: ; Avoid byte-compiler warning in eglot.el
Date: Mon, 16 Jan 2023 09:53:11 -0500 (EST)

branch: emacs-29
commit f367ba3ed03526356448a94addbb8554ece2f482
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; 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)
---
 lisp/progmodes/eglot.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index 1051263318..dc73152f5a 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -1075,7 +1075,7 @@ suitable root directory for a given LSP server's 
purposes."
 
 ;;;###autoload
 (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.
 
 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
 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
    (let ((current-server (eglot-current-server)))
      (unless (or (null current-server)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]