emacs-devel
[Top][All Lists]
Advanced

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

Re: master b96f441139: ; Delete file after wallpaper test


From: Stefan Kangas
Subject: Re: master b96f441139: ; Delete file after wallpaper test
Date: Wed, 19 Oct 2022 18:57:50 +0000

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> +        (setq process (wallpaper-set fil-jpg))
>> +        ;; Wait for "touch" process to exit so temp file is removed.
>> +        (while (and (< (- (time-convert nil 'integer) start)
>> +                       timeout)
>> +                    (process-live-p process))
>> +          (sit-for 0.01))
>>          (should called)))))
>
> `accept-process-output` is supposed to be the more reliable.canonical way
> to wait for a process to make progress or terminate.

Thanks, I changed it to use `accept-process-output'.



reply via email to

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