]> git.eshelyaron.com Git - emacs.git/commitdiff
(which-function-mode): New alias.
authorRichard M. Stallman <rms@gnu.org>
Wed, 6 May 1998 19:43:11 +0000 (19:43 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 6 May 1998 19:43:11 +0000 (19:43 +0000)
lisp/which-func.el

index 9ff0b57334c8ce0a2c71d93fbee775e03d85b4be..dceb3bf40e8aca73b845cebb3faf462069b4fbef 100644 (file)
@@ -159,6 +159,10 @@ It creates the Imenu index for the buffer, if necessary."
      (which-func-mode -1)   ; Function mode off
      (message "Error in which-func-update: %s" info))))
 
+;; This is the name people would normally expect.
+;;;###autoload
+(defalias 'which-function-mode 'which-func-mode)
+
 ;;;###autoload
 (defun which-func-mode (&optional arg)
   "Toggle Which Function mode, globally.