Commit 9b3568e1 authored by Glenn Morris's avatar Glenn Morris
Browse files

(which-func-imenu-joiner-function): Doc fix.

parent fd1c81ef
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> 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 * imenu.el (imenu--split-menu): Fix bug with shared lists that deleted
some nested menu items. some nested menu items.
......
;;; which-func.el --- print current function in mode line ;;; which-func.el --- print current function in mode line
;; Copyright (C) 1994, 1997, 1998, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 ;; Copyright (C) 1994, 1997, 1998, 2001, 2002, 2003, 2004, 2005, 2006
;; Free Software Foundation, Inc. ;; 2007, 2008 Free Software Foundation, Inc.
;; Author: Alex Rezinsky <alexr@msil.sps.mot.com> ;; Author: Alex Rezinsky <alexr@msil.sps.mot.com>
;; (doesn't seem to be responsive any more) ;; (doesn't seem to be responsive any more)
...@@ -153,10 +153,10 @@ Zero means compute the Imenu menu regardless of size." ...@@ -153,10 +153,10 @@ Zero means compute the Imenu menu regardless of size."
;;;###autoload (put 'which-func-format 'risky-local-variable t) ;;;###autoload (put 'which-func-format 'risky-local-variable t)
(defvar which-func-imenu-joiner-function #'last (defvar which-func-imenu-joiner-function #'last
"Function to call when using imenu to join together multiple "Function to join together multiple levels of imenu nomenclature.
levels of nomenclature. Called with a single argument, a list of Called with a single argument, a list of strings giving the names
strings giving the names of the menus we had to traverse to get of the menus we had to traverse to get to the item. Returns a
to the item. Return a single string, the new name of the item.") single string, the new name of the item.")
(defvar which-func-cleanup-function nil (defvar which-func-cleanup-function nil
"Function to transform a string before displaying it in the mode line. "Function to transform a string before displaying it in the mode line.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment