From: Richard M. Stallman Date: Tue, 26 Jun 2001 11:52:27 +0000 (+0000) Subject: (which-func-maxout): Increase default to 500000. X-Git-Tag: emacs-pretest-21.0.104~148 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=10e65e4185e95c0e099302cfd3dae498a32e2c24;p=emacs.git (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 --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." :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 @@ It creates the Imenu index for the buffer, if necessary." (which-func-mode -1) (error "Error in which-func-update: %s" info))))) -;; 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) +(defalias 'which-func-mode 'which-function-mode) + +;; This is the name people would normally expect. ;;;###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.