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

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

Re: How do I wait, or sit-for, until a hook is run?


From: Emanuel Berg
Subject: Re: How do I wait, or sit-for, until a hook is run?
Date: Sat, 31 Dec 2022 00:16:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Eduardo Ochs wrote:

> I found a solution that is not too ugly [...]

Never wait for anything, signal when it should happen or push
it to some queue where it will be popped when appropriate ...

In Emacs, you can for example have the function added as
a one-shot to the desired hook, or maybe do a self-removing
advice upon completion ...

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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