# HG changeset patch # User Masatake YAMATO # Date 1189226139 0 # Node ID 28620c3d5a1a170d14bbb6d99c0d3caf0339683e # Parent dcd4f2cd850a11dc4ed494f7d7f11bb48e06fb11 Added diff-mode to `which-func-modes'. diff -r dcd4f2cd850a -r 28620c3d5a1a lisp/ChangeLog --- 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 + * 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. diff -r dcd4f2cd850a -r 28620c3d5a1a lisp/progmodes/which-func.el --- 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."