From: Mauro Aranda Date: Sun, 15 Oct 2023 13:43:50 +0000 (-0300) Subject: Fix eglot-report-progress :type X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cb89cbc406efeeadbb46eb6f4d81827c7c2caf94;p=emacs.git Fix eglot-report-progress :type * lisp/progmodes/eglot.el (eglot-report-progress): Change :type to choice, to allow 'messages' as a value. (Bug#66556) --- 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)