]> git.eshelyaron.com Git - emacs.git/commitdiff
(which-func-maxout): Increase default to 500000.
authorRichard M. Stallman <rms@gnu.org>
Tue, 26 Jun 2001 11:52:27 +0000 (11:52 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 26 Jun 2001 11:52:27 +0000 (11:52 +0000)
(which-function-mode): This is now the "real" name of the function.
(which-func-mode): Now an alias.
(which-func-mode-global): Name deleted.

lisp/which-func.el

index 28f8d5f106705a5d20478b6f73524b3d51cf2bbc..0d4dfd6b93d4367f357da55641ff069feb69924c 100644 (file)
@@ -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.