From 4f27588a16a8ce65db1aa5adfeca12bcbf44af3d Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 8 Apr 2022 09:48:15 +0300 Subject: [PATCH] Clarify "idleness" in the ELisp manual * doc/lispref/os.texi (Idle Timers): Clarify that waiting for input with timeout doesn't make Emacs idle. Suggested by Ignacio . (Bug#54371) --- doc/lispref/os.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi index b1c19e384be..96cfff3f89b 100644 --- a/doc/lispref/os.texi +++ b/doc/lispref/os.texi @@ -2284,7 +2284,8 @@ can use in calling @code{cancel-timer} (@pxref{Timers}). @end deffn @cindex idleness - Emacs becomes @dfn{idle} when it starts waiting for user input, and + Emacs becomes @dfn{idle} when it starts waiting for user input +(unless it waits for input with a timeout, @pxref{Reading One Event}), and it remains idle until the user provides some input. If a timer is set for five seconds of idleness, it runs approximately five seconds after Emacs first becomes idle. Even if @var{repeat} is non-@code{nil}, -- 2.39.2