aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1998-05-19 00:38:20 +0000
committerRichard M. Stallman1998-05-19 00:38:20 +0000
commit5686b9d451fb8d23c8d9844cbe0250beaffe51b0 (patch)
treead5d6152edfb71082072b31b023a9cb69e2c78d0
parentc1c92f8b62b89d578b7ad9d29f1bbe3423c8859b (diff)
downloademacs-5686b9d451fb8d23c8d9844cbe0250beaffe51b0.tar.gz
emacs-5686b9d451fb8d23c8d9844cbe0250beaffe51b0.zip
(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 @@
73 73
74(defcustom which-func-modes 74(defcustom which-func-modes
75 '(emacs-lisp-mode c-mode c++-mode perl-mode makefile-mode sh-mode) 75 '(emacs-lisp-mode c-mode c++-mode perl-mode makefile-mode sh-mode)
76 "List of major modes for which `which-func-mode' should be used. 76 "List of major modes for which Which Function mode should be used.
77For other modes it is disabled. If this is equal to t, 77For other modes it is disabled. If this is equal to t,
78then current-function recognition is enabled in any mode." 78then Which Function mode is enabled in any major mode that supports it."
79 :group 'which-func 79 :group 'which-func
80 :type '(choice (const :tag "All modes" t) 80 :type '(choice (const :tag "All modes" t)
81 (list (symbol :tag "Major mode")))) 81 (repeat (symbol :tag "Major mode"))))
82 82
83(defcustom which-func-non-auto-modes nil 83(defcustom which-func-non-auto-modes nil
84 "List of major modes where Which Function mode is inactive till Imenu is used. 84 "List of major modes where Which Function mode is inactive till Imenu is used.
85 85This means that Which Function mode won't really do anything
86Note that the menu is never computed automatically if the buffer size 86until you use Imenu, in these modes. Note that files
87exceeds `which-func-maxout'." 87larger than `which-func-maxout' behave in this way too;
88 88Which Function mode doesn't do anything until you use Imenu."
89 :group 'which-func 89 :group 'which-func
90 :type '(list (symbol :tag "Major mode"))) 90 :type '(repeat (symbol :tag "Major mode")))
91 91
92(defcustom which-func-maxout 100000 92(defcustom which-func-maxout 100000
93 "Don't automatically compute the Imenu menu if buffer is this big or bigger. 93 "Don't automatically compute the Imenu menu if buffer is this big or bigger.