diff options
| author | Masatake YAMATO | 2007-09-08 04:35:39 +0000 |
|---|---|---|
| committer | Masatake YAMATO | 2007-09-08 04:35:39 +0000 |
| commit | 59825017c85af3eb5a05d2a109d2df8747b4d662 (patch) | |
| tree | 2b852c9567354e5dc74ea1e2c18ca9100b72b3eb | |
| parent | 6e33433dc0d48f6252c0d1b87e8beaca2933750f (diff) | |
| download | emacs-59825017c85af3eb5a05d2a109d2df8747b4d662.tar.gz emacs-59825017c85af3eb5a05d2a109d2df8747b4d662.zip | |
Added diff-mode to `which-func-modes'.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/progmodes/which-func.el | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1c9c2020c01..f6a9176d165 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2007-09-08 Masatake YAMATO <jet@gyve.org> | 1 | 2007-09-08 Masatake YAMATO <jet@gyve.org> |
| 2 | 2 | ||
| 3 | * progmodes/which-func.el (which-func-modes): Added diff-mode. | ||
| 4 | |||
| 3 | * progmodes/cc-langs.el: Support new keywords added to | 5 | * progmodes/cc-langs.el: Support new keywords added to |
| 4 | objective-c frontend of gcc. | 6 | objective-c frontend of gcc. |
| 5 | (c-simple-stmt-kwds): Added @throw. | 7 | (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 @@ | |||
| 77 | 77 | ||
| 78 | (defcustom which-func-modes | 78 | (defcustom which-func-modes |
| 79 | '(emacs-lisp-mode c-mode c++-mode perl-mode cperl-mode python-mode | 79 | '(emacs-lisp-mode c-mode c++-mode perl-mode cperl-mode python-mode |
| 80 | makefile-mode sh-mode fortran-mode f90-mode ada-mode) | 80 | makefile-mode sh-mode fortran-mode f90-mode ada-mode |
| 81 | diff-mode) | ||
| 81 | "List of major modes for which Which Function mode should be used. | 82 | "List of major modes for which Which Function mode should be used. |
| 82 | For other modes it is disabled. If this is equal to t, | 83 | For other modes it is disabled. If this is equal to t, |
| 83 | then Which Function mode is enabled in any major mode that supports it." | 84 | then Which Function mode is enabled in any major mode that supports it." |