From 59825017c85af3eb5a05d2a109d2df8747b4d662 Mon Sep 17 00:00:00 2001 From: Masatake YAMATO Date: Sat, 8 Sep 2007 04:35:39 +0000 Subject: [PATCH] Added diff-mode to `which-func-modes'. --- lisp/ChangeLog | 2 ++ lisp/progmodes/which-func.el | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1c9c2020c01..f6a9176d165 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 --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." -- 2.39.5