aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2001-06-26 11:52:27 +0000
committerRichard M. Stallman2001-06-26 11:52:27 +0000
commit10e65e4185e95c0e099302cfd3dae498a32e2c24 (patch)
tree464c765eaebca621a5a55e5817165dc71d581520
parent722da89bf4d463030dbcdc572a4a43c67d5f23f3 (diff)
downloademacs-10e65e4185e95c0e099302cfd3dae498a32e2c24.tar.gz
emacs-10e65e4185e95c0e099302cfd3dae498a32e2c24.zip
(which-func-maxout): Increase default to 500000.
(which-function-mode): This is now the "real" name of the function. (which-func-mode): Now an alias. (which-func-mode-global): Name deleted.
-rw-r--r--lisp/which-func.el11
1 files changed, 5 insertions, 6 deletions
diff --git a/lisp/which-func.el b/lisp/which-func.el
index 28f8d5f1067..0d4dfd6b93d 100644
--- a/lisp/which-func.el
+++ b/lisp/which-func.el
@@ -93,7 +93,7 @@ Which Function mode doesn't do anything until you use Imenu."
93 :group 'which-func 93 :group 'which-func
94 :type '(repeat (symbol :tag "Major mode"))) 94 :type '(repeat (symbol :tag "Major mode")))
95 95
96(defcustom which-func-maxout 100000 96(defcustom which-func-maxout 500000
97 "Don't automatically compute the Imenu menu if buffer is this big or bigger. 97 "Don't automatically compute the Imenu menu if buffer is this big or bigger.
98Zero means compute the Imenu menu regardless of size." 98Zero means compute the Imenu menu regardless of size."
99 :group 'which-func 99 :group 'which-func
@@ -164,13 +164,12 @@ It creates the Imenu index for the buffer, if necessary."
164 (which-func-mode -1) 164 (which-func-mode -1)
165 (error "Error in which-func-update: %s" info))))) 165 (error "Error in which-func-update: %s" info)))))
166 166
167;; This is the name people would normally expect.
168;;;###autoload
169(defalias 'which-function-mode 'which-func-mode-global)
170;;;###autoload 167;;;###autoload
171(defalias 'which-func-mode 'which-func-mode-global) 168(defalias 'which-func-mode 'which-function-mode)
169
170;; This is the name people would normally expect.
172;;;###autoload 171;;;###autoload
173(define-minor-mode which-func-mode-global 172(define-minor-mode which-function-mode
174 "Toggle Which Function mode, globally. 173 "Toggle Which Function mode, globally.
175When Which Function mode is enabled, the current function name is 174When Which Function mode is enabled, the current function name is
176continuously displayed in the mode line, in certain major modes. 175continuously displayed in the mode line, in certain major modes.