emacs-diffs
[Top][All Lists]
Advanced

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

emacs-29 10415d9651: ; Add useful hint to which-func documentation


From: Eli Zaretskii
Subject: emacs-29 10415d9651: ; Add useful hint to which-func documentation
Date: Fri, 16 Dec 2022 10:44:38 -0500 (EST)

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

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

diff --git a/lisp/progmodes/which-func.el b/lisp/progmodes/which-func.el
index 07050fb3d6..8a90b6d26e 100644
--- a/lisp/progmodes/which-func.el
+++ b/lisp/progmodes/which-func.el
@@ -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



reply via email to

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