emacs-devel
[Top][All Lists]
Advanced

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

Re: using finalizers


From: Eli Zaretskii
Subject: Re: using finalizers
Date: Sun, 02 Jan 2022 17:16:53 +0200

> Date: Sun, 02 Jan 2022 16:42:45 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: rudi@constantly.at, emacs-devel@gnu.org
> 
> > >> > There are usually protocols for the callback to stop the process and
> > >> > prevent the rest of objects from being examined/reported.
> > >> 
> > >> There is no such thing in directory-files.
> > >
> > > I think we have something like that in lisp/url/.
> > 
> > Thanks for the hint.  Unfortunatelly I can't find anything from after a
> > quick search.
> 
> Grep for "callback".

Come to think of it, calling hooks via
run-hook-with-args-until-failure or run-hook-with-args-until-success
implements such a protocol.



reply via email to

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