summaryrefslogtreecommitdiff
path: root/lisp/which-func.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/which-func.el')
-rw-r--r--lisp/which-func.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/which-func.el b/lisp/which-func.el
index 1de0ad5e5ae..56cbbbab8cd 100644
--- a/lisp/which-func.el
+++ b/lisp/which-func.el
@@ -62,6 +62,11 @@
(defvar which-func-unknown "???"
"String to display in the mode line when current function is unknown.")
+(defgroup which-func nil
+ "Mode to display the current function name in the modeline."
+ :group 'tools
+ :version "20.3")
+
(defcustom which-func-modes
'(emacs-lisp-mode c-mode c++-mode perl-mode makefile-mode sh-mode)
"List of major modes for which `which-func-mode' should be used.