+2008-09-30 Glenn Morris <rgm@gnu.org>
+
+ * progmodes/which-func.el (which-func-imenu-joiner-function): Doc fix.
+
2008-09-30 Daniel Colascione <danc@merrillpress.com>
+ * progmodes/which-func.el (which-func-imenu-joiner-function): New.
+ (which-function): Handle nested imenu trees.
+
* imenu.el (imenu--split-menu): Fix bug with shared lists that deleted
some nested menu items.
;;; which-func.el --- print current function in mode line
-;; Copyright (C) 1994, 1997, 1998, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
-;; Free Software Foundation, Inc.
+;; Copyright (C) 1994, 1997, 1998, 2001, 2002, 2003, 2004, 2005, 2006
+;; 2007, 2008 Free Software Foundation, Inc.
;; Author: Alex Rezinsky <alexr@msil.sps.mot.com>
;; (doesn't seem to be responsive any more)
;;;###autoload (put 'which-func-format 'risky-local-variable t)
(defvar which-func-imenu-joiner-function #'last
- "Function to call when using imenu to join together multiple
-levels of nomenclature. Called with a single argument, a list of
-strings giving the names of the menus we had to traverse to get
-to the item. Return a single string, the new name of the item.")
+ "Function to join together multiple levels of imenu nomenclature.
+Called with a single argument, a list of strings giving the names
+of the menus we had to traverse to get to the item. Returns a
+single string, the new name of the item.")
(defvar which-func-cleanup-function nil
"Function to transform a string before displaying it in the mode line.