# HG changeset patch # User Richard M. Stallman # Date 993556347 0 # Node ID a23820c19d0346bf557c6ab56c8711b6773d7c17 # Parent 715aab816884d82895a31307848798de9d23cd67 (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. diff -r 715aab816884 -r a23820c19d03 lisp/which-func.el --- 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.