diff options
| author | Richard M. Stallman | 1998-05-19 00:38:20 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-05-19 00:38:20 +0000 |
| commit | 5686b9d451fb8d23c8d9844cbe0250beaffe51b0 (patch) | |
| tree | ad5d6152edfb71082072b31b023a9cb69e2c78d0 | |
| parent | c1c92f8b62b89d578b7ad9d29f1bbe3423c8859b (diff) | |
| download | emacs-5686b9d451fb8d23c8d9844cbe0250beaffe51b0.tar.gz emacs-5686b9d451fb8d23c8d9844cbe0250beaffe51b0.zip | |
(which-func-modes): Fix custom type.
(which-func-non-auto-modes): Likewise.
| -rw-r--r-- | lisp/which-func.el | 16 |
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. |
| 77 | For other modes it is disabled. If this is equal to t, | 77 | For other modes it is disabled. If this is equal to t, |
| 78 | then current-function recognition is enabled in any mode." | 78 | then 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 | 85 | This means that Which Function mode won't really do anything | |
| 86 | Note that the menu is never computed automatically if the buffer size | 86 | until you use Imenu, in these modes. Note that files |
| 87 | exceeds `which-func-maxout'." | 87 | larger than `which-func-maxout' behave in this way too; |
| 88 | 88 | Which 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. |