emacs-diffs
[Top][All Lists]
Advanced

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

master cb89cbc406e: Fix eglot-report-progress :type


From: Stefan Kangas
Subject: master cb89cbc406e: Fix eglot-report-progress :type
Date: Sat, 21 Oct 2023 06:05:59 -0400 (EDT)

branch: master
commit cb89cbc406efeeadbb46eb6f4d81827c7c2caf94
Author: Mauro Aranda <maurooaranda@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    Fix eglot-report-progress :type
    
    * lisp/progmodes/eglot.el (eglot-report-progress): Change :type to
    choice, to allow 'messages' as a value.  (Bug#66556)
---
 lisp/progmodes/eglot.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index 7d83bcdd7ac..eba66503bf7 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -467,7 +467,9 @@ ACTION is the default value for commands not in the alist."
   "If non-nil, show progress of long running LSP server work.
 If set to `messages', use *Messages* buffer, else use Eglot's
 mode line indicator."
-  :type 'boolean
+  :type '(choice (const :tag "Don't show progress" nil)
+                 (const :tag "Show progress in *Messages*" messages)
+                 (const :tag "Show progress in Eglot's mode line indicator" t))
   :version "1.10")
 
 (defcustom eglot-ignored-server-capabilities (list)



reply via email to

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