summaryrefslogtreecommitdiff
path: root/lisp/progmodes/which-func.el
diff options
context:
space:
mode:
authorMasatake YAMATO <jet@gyve.org>2007-09-08 04:35:39 +0000
committerMasatake YAMATO <jet@gyve.org>2007-09-08 04:35:39 +0000
commit2662406cb95e673cf28160f08b61e0990edcf917 (patch)
tree4986d7fced1b70c84e3c70dd48c0e41eb97b6136 /lisp/progmodes/which-func.el
parent3039e455a327eade3b0cfaef154ad9298549cd83 (diff)
downloademacs-2662406cb95e673cf28160f08b61e0990edcf917.tar.gz
Added diff-mode to `which-func-modes'.
Diffstat (limited to 'lisp/progmodes/which-func.el')
-rw-r--r--lisp/progmodes/which-func.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/which-func.el b/lisp/progmodes/which-func.el
index 5307445dc04..577ad024a2b 100644
--- a/lisp/progmodes/which-func.el
+++ b/lisp/progmodes/which-func.el
@@ -77,7 +77,8 @@
(defcustom which-func-modes
'(emacs-lisp-mode c-mode c++-mode perl-mode cperl-mode python-mode
- makefile-mode sh-mode fortran-mode f90-mode ada-mode)
+ makefile-mode sh-mode fortran-mode f90-mode ada-mode
+ diff-mode)
"List of major modes for which Which Function mode should be used.
For other modes it is disabled. If this is equal to t,
then Which Function mode is enabled in any major mode that supports it."