summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-05-19 00:38:20 +0000
committerRichard M. Stallman <rms@gnu.org>1998-05-19 00:38:20 +0000
commit90cf25e38370334c1a0879fca838991134c02202 (patch)
tree65ba64dc7d28eb59cad6050e4afac5184a82512c
parentea8d03b4a4a4edd35c6ad5caa984aa77ef394b21 (diff)
downloademacs-90cf25e38370334c1a0879fca838991134c02202.tar.gz
(which-func-modes): Fix custom type.
(which-func-non-auto-modes): Likewise.
-rw-r--r--lisp/which-func.el16
1 files changed, 8 insertions, 8 deletions
diff --git a/lisp/which-func.el b/lisp/which-func.el
index c55e392c23d..cf0e2e571dc 100644
--- a/lisp/which-func.el
+++ b/lisp/which-func.el
@@ -73,21 +73,21 @@
(defcustom which-func-modes
'(emacs-lisp-mode c-mode c++-mode perl-mode makefile-mode sh-mode)
- "List of major modes for which `which-func-mode' should be used.
+ "List of major modes for which Which Function mode should be used.
For other modes it is disabled. If this is equal to t,
-then current-function recognition is enabled in any mode."
+then Which Function mode is enabled in any major mode that supports it."
:group 'which-func
:type '(choice (const :tag "All modes" t)
- (list (symbol :tag "Major mode"))))
+ (repeat (symbol :tag "Major mode"))))
(defcustom which-func-non-auto-modes nil
"List of major modes where Which Function mode is inactive till Imenu is used.
-
-Note that the menu is never computed automatically if the buffer size
-exceeds `which-func-maxout'."
-
+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."
:group 'which-func
- :type '(list (symbol :tag "Major mode")))
+ :type '(repeat (symbol :tag "Major mode")))
(defcustom which-func-maxout 100000
"Don't automatically compute the Imenu menu if buffer is this big or bigger.