changeset 84390:28620c3d5a1a

Added diff-mode to `which-func-modes'.
author Masatake YAMATO <jet@gyve.org>
date Sat, 08 Sep 2007 04:35:39 +0000
parents dcd4f2cd850a
children d47318b5ff25
files lisp/ChangeLog lisp/progmodes/which-func.el
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sat Sep 08 04:31:08 2007 +0000
+++ b/lisp/ChangeLog	Sat Sep 08 04:35:39 2007 +0000
@@ -1,5 +1,7 @@
 2007-09-08  Masatake YAMATO  <jet@gyve.org>
 
+	* progmodes/which-func.el (which-func-modes): Added diff-mode.
+
 	* progmodes/cc-langs.el: Support new keywords added to 
 	objective-c frontend of gcc.
 	(c-simple-stmt-kwds): Added @throw.
--- a/lisp/progmodes/which-func.el	Sat Sep 08 04:31:08 2007 +0000
+++ b/lisp/progmodes/which-func.el	Sat Sep 08 04:35:39 2007 +0000
@@ -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."