[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to post-process the buffer populated by the async `start-process
Re: How to post-process the buffer populated by the async `start-process'
Sat, 12 Jan 2019 11:10:00 -0500
On Sat, Jan 12, 2019 at 1:32 AM <address@hidden> wrote:
> Have you tried (info "(elisp) Sentinels")? The info already provides a
> nice example, here is another example:
> (start-process "sleep" "*sleep*" "sleep" "3")
> (lambda (_process event)
> (when (string= event "finished\n")
> (message "TODO Do something"))))
I did not know about Sentinels, and your example is much better than that
in the manual :)
Thanks for your help!