From 4ed0c28d70c3363473957b244915b792d2f7e689 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 6 May 1998 19:43:11 +0000 Subject: [PATCH] (which-function-mode): New alias. --- lisp/which-func.el | 4 ++++ 1 file changed, 4 insertions(+) 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. -- 2.39.2