summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2012-04-13 22:31:50 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2012-04-13 22:31:50 -0400
commitab036cd7bdd7b087047d241ffb5607d14942179e (patch)
treee23fcd09ae5352fc52ae4e8bbece56c61bea690a
parent1e103a7cd8a0210ad6d66d6105192e8ab8df19e5 (diff)
downloademacs-ab036cd7bdd7b087047d241ffb5607d14942179e.tar.gz
emacs-ab036cd7bdd7b087047d241ffb5607d14942179e.tar.bz2
emacs-ab036cd7bdd7b087047d241ffb5607d14942179e.zip
* lisp/progmodes/which-func.el (which-func-modes): Change default.
-rw-r--r--etc/NEWS2
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/progmodes/which-func.el8
3 files changed, 11 insertions, 6 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 23d6dc0cd89..4ec33eae625 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -50,6 +50,8 @@ character when doing minibuffer filename prompts.
* Changes in Specialized Modes and Packages in Emacs 24.2
+** which-function-mode now applies to all applicable major modes by default.
+
** erc will look up server/channel names via auth-source and use the
channel keys found, if any.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7ca8751216f..858c4285c7a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * progmodes/which-func.el (which-func-modes): Change default.
+
2012-04-14 Kim F. Storm <storm@cua.dk>
* emulation/cua-base.el (cua-exchange-point-and-mark): Just call
@@ -94,8 +98,7 @@
2012-04-13 Ken Brown <kbrown@cornell.edu>
* net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
- this is no longer needed now that cygstart understands file://
- URLs.
+ this is no longer needed now that cygstart understands file:// URLs.
(browse-url-filename-alist): For the same reason, don't modify
file:// URLs on Cygwin.
diff --git a/lisp/progmodes/which-func.el b/lisp/progmodes/which-func.el
index f1c65272625..bacc542a388 100644
--- a/lisp/progmodes/which-func.el
+++ b/lisp/progmodes/which-func.el
@@ -72,10 +72,10 @@
:group 'tools
:version "20.3")
-(defcustom which-func-modes
- '(emacs-lisp-mode c-mode c++-mode objc-mode perl-mode cperl-mode python-mode
- makefile-mode sh-mode fortran-mode f90-mode ada-mode
- diff-mode)
+(defcustom which-func-modes t
+ ;; '(emacs-lisp-mode c-mode c++-mode objc-mode perl-mode cperl-mode python-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."