[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11476: 23.1; which-func-cleanup-function call and documentation mism
bug#11476: 23.1; which-func-cleanup-function call and documentation mismatch
Wed, 16 May 2012 10:29:20 +0200
As I explained in my first mail, it always happens with imenu and which-func.
Here is a short recipe to get it:
open any emacs-lisp file and move point inside any function
(defun jd-test-which-func-cleanup-function (fun-name)
(message "Type of fun-name '%s' is %s" fun-name (type-of fun-name))
(when (consp fun-name)
(message "Type of (car fun-name) '%s' is %s" (car fun-name)
(type-of (car fun-name))))
(setq jd-ielm-fun-name fun-name) ; to explore it using ielm
M-: (setq which-func-cleanup-function 'jd-test-which-func-cleanup-function)
2012/5/15 Stefan Monnier <address@hidden>:
>>> It seems that the argument given to "which-func-cleanup-function"
>>> can also be a list with one string.
>> That is a bug.
> Can you give a recipe or at least describe a case where it happens?