From ab036cd7bdd7b087047d241ffb5607d14942179e Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 13 Apr 2012 22:31:50 -0400 Subject: [PATCH] * lisp/progmodes/which-func.el (which-func-modes): Change default. --- etc/NEWS | 2 ++ lisp/ChangeLog | 7 +++++-- lisp/progmodes/which-func.el | 8 ++++---- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index 23d6dc0cd8..4ec33eae62 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 7ca8751216..858c4285c7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2012-04-14 Stefan Monnier + + * progmodes/which-func.el (which-func-modes): Change default. + 2012-04-14 Kim F. Storm * emulation/cua-base.el (cua-exchange-point-and-mark): Just call @@ -94,8 +98,7 @@ 2012-04-13 Ken Brown * 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 f1c6527262..bacc542a38 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." -- 2.20.1