mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-25 06:50:46 -08:00
; Add useful hint to which-func documentation
* lisp/progmodes/which-func.el (which-func-non-auto-modes) (which-func-maxout): Mention the slow startup with Eglot and how to work around that. (Bug#60107)
This commit is contained in:
parent
c26ab22cf4
commit
10415d9651
1 changed files with 12 additions and 2 deletions
|
|
@ -78,12 +78,22 @@ then Which Function mode is enabled in any major mode that supports it."
|
|||
This means that Which Function mode won't really do anything
|
||||
until you use Imenu, in these modes. Note that files
|
||||
larger than `which-func-maxout' behave in this way too;
|
||||
Which Function mode doesn't do anything until you use Imenu."
|
||||
Which Function mode doesn't do anything until you use Imenu.
|
||||
|
||||
If Which Function delays the initial display of buffers too much,
|
||||
e.g., when it is used with Eglot, and the language server takes a
|
||||
long time to send the information, you can use this option to delay
|
||||
activation of Which Function until Imenu is used for the first time."
|
||||
:type '(repeat (symbol :tag "Major mode")))
|
||||
|
||||
(defcustom which-func-maxout 500000
|
||||
"Don't automatically compute the Imenu menu if buffer is this big or bigger.
|
||||
Zero means compute the Imenu menu regardless of size."
|
||||
Zero means compute the Imenu menu regardless of size.
|
||||
|
||||
If Which Function delays the initial display of buffers too much,
|
||||
e.g., when it is used with Eglot, and the language server takes a
|
||||
long time to send the information, you can use this option to delay
|
||||
activation of Which Function until Imenu is used for the first time."
|
||||
:type 'integer)
|
||||
|
||||
(defvar which-func-keymap
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue