[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)
- Re: [PATCH v3] RFC: eldoc-documentation-functions hook, (continued)
Re: [PATCH v3] RFC: eldoc-documentation-functions hook, Stefan Monnier, 2016/07/17
- Re: [PATCH v3] RFC: eldoc-documentation-functions hook, Stefan Monnier, 2016/07/17
- Re: [PATCH v3] RFC: eldoc-documentation-functions hook, Mark Oteiza, 2016/07/18
- Re: [PATCH v3] RFC: eldoc-documentation-functions hook, Stefan Monnier, 2016/07/18
- Re: [PATCH v3] RFC: eldoc-documentation-functions hook, Mark Oteiza, 2016/07/19
- Re: [PATCH v3] RFC: eldoc-documentation-functions hook, Clément Pit--Claudel, 2016/07/19
- Re: [PATCH v3] RFC: eldoc-documentation-functions hook, John Wiegley, 2016/07/20
- Re: [PATCH v3] RFC: eldoc-documentation-functions hook,
Mark Oteiza <=
Re: [PATCH v3] RFC: eldoc-documentation-functions hook, Clément Pit--Claudel, 2016/07/07