bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16708: 24.3.50; font-lock nadvice mechanism


From: Stefan Monnier
Subject: bug#16708: 24.3.50; font-lock nadvice mechanism
Date: Mon, 10 Feb 2014 11:57:23 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> I suggest to add `add-function' and `advice-add' (which are used instead
> of defadvice at some places) to the font-lock in lisp mode, just as
> defadvice is.

It might be OK for advice-add but I'm not sure it makes sense for
add-function.

> Perhaps lisp-imenu-generic-expression should be updated too, I don't
> know what it is exactly.

No, imenu should point to the "definition site", whereas advice-add does
not define a function, it merely modifies it.


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]