[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#49682: 27.2.50; accept-process-output within accept-process-output h
From: |
Eli Zaretskii |
Subject: |
bug#49682: 27.2.50; accept-process-output within accept-process-output hangs emacs |
Date: |
Wed, 08 Nov 2023 18:37:59 +0200 |
> Date: Thu, 09 Nov 2023 00:50:37 +0900
> From: Kazuhiro Ito <kzhr@d1.dion.ne.jp>
> Cc: 49682@debbugs.gnu.org
>
> > If a Lisp program wants to avoid timers during the call to
> > accept-process-output, could perhaps temporarily bind timer-list to
> > nil or something?
>
> According to docstring, it seems that accept-process-output has option
> not to run timers.
>
> > (accept-process-output &optional PROCESS SECONDS MILLISEC
> > JUST-THIS-ONE)
> ...
> > If JUST-THIS-ONE is an integer, don’t run any timers either.
>
> Can Lisp programs use the feature?
If they are okay with receiving output only from PROCESS, yes, they
can.