Mercurial > emacs
changeset 38194:a23820c19d03
(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.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 26 Jun 2001 11:52:27 +0000 |
parents | 715aab816884 |
children | 7255d1f70b82 |
files | lisp/which-func.el |
diffstat | 1 files changed, 5 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/which-func.el Tue Jun 26 11:50:16 2001 +0000 +++ b/lisp/which-func.el Tue Jun 26 11:52:27 2001 +0000 @@ -93,7 +93,7 @@ :group 'which-func :type '(repeat (symbol :tag "Major mode"))) -(defcustom which-func-maxout 100000 +(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." :group 'which-func @@ -164,13 +164,12 @@ (which-func-mode -1) (error "Error in which-func-update: %s" info))))) +;;;###autoload +(defalias 'which-func-mode 'which-function-mode) + ;; This is the name people would normally expect. ;;;###autoload -(defalias 'which-function-mode 'which-func-mode-global) -;;;###autoload -(defalias 'which-func-mode 'which-func-mode-global) -;;;###autoload -(define-minor-mode which-func-mode-global +(define-minor-mode which-function-mode "Toggle Which Function mode, globally. When Which Function mode is enabled, the current function name is continuously displayed in the mode line, in certain major modes.