summaryrefslogtreecommitdiff
path: root/lisp/which-func.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-05-06 19:43:11 +0000
committerRichard M. Stallman <rms@gnu.org>1998-05-06 19:43:11 +0000
commit4ed0c28d70c3363473957b244915b792d2f7e689 (patch)
tree5a0c52fb22f94f7acdb0870d105e2a24f0d6ad78 /lisp/which-func.el
parentb2118a4123f4ccd4ade6b5a2a93c5778f4eb7224 (diff)
downloademacs-4ed0c28d70c3363473957b244915b792d2f7e689.tar.gz
(which-function-mode): New alias.
Diffstat (limited to 'lisp/which-func.el')
-rw-r--r--lisp/which-func.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/which-func.el b/lisp/which-func.el
index 9ff0b57334c..dceb3bf40e8 100644
--- a/lisp/which-func.el
+++ b/lisp/which-func.el
@@ -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.