emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] RFC: eldoc-documentation-functions hook


From: Mark Oteiza
Subject: Re: [PATCH] RFC: eldoc-documentation-functions hook
Date: Sun, 12 Jun 2016 15:44:52 -0400
User-agent: Mutt/1.6.1+26 (8e342d73159b) (2016-04-27)

On 12/06/16 at 09:57pm, Dmitry Gutov wrote:
> On 06/12/2016 09:52 PM, Mark Oteiza wrote:
> 
> > > Could we improve the display of function values instead?
> > 
> > Why not both?  AFAICT the current behavior in eldoc is an imitation of
> > what hooks do already.
> 
> add-function is more powerful than hooks, see the different ways you can
> combine the functions.

That does not mean we should be using advice where hooks are a natural
solution.

Nothing prevents you from using add-function on a hook or a function
that is part of a hook.



reply via email to

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