emacs-devel
[Top][All Lists]
Advanced

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

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


From: Mark Oteiza
Subject: Re: [PATCH v3] RFC: eldoc-documentation-functions hook
Date: Wed, 20 Jul 2016 19:03:41 -0400
User-agent: Mutt/1.6.2+18 (69bbe4da959f) (2016-07-01)

On 19/07/16 at 09:50pm, John Wiegley wrote:
> >>>>> Mark Oteiza <address@hidden> writes:
> > Ok, then perhaps something to the effect of
> > (defun run-single-function-hook (hook)
> >   (let ((global-hook (default-value hook))
> >         (local-hook (when (local-variable-p hook) (symbol-value hook))))
> >     (or (and (functionp local-hook) (funcall local-hook))
> >         (and (functionp global-hook) (funcall global-hook)))))
> 
> > can instead be used. Haven't bothered looking to see if this is useful
> > outside of eldoc…
> 
>  Is it that the use of nadvice in
> cases like these seems heavyweight? 

Yes.

(Though, only now do I realize that what I have written above was
written a while ago in Bug#19338)



reply via email to

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