]> code.delx.au - gnu-emacs/commitdiff
(Fcurrent_idle_time): Doc fix.
authorRichard M. Stallman <rms@gnu.org>
Wed, 24 Oct 2007 08:23:01 +0000 (08:23 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 24 Oct 2007 08:23:01 +0000 (08:23 +0000)
src/keyboard.c

index 538c0a0d1b04e7619fdb2becfe00fcf3c8919e48..ffba913fc55168fbd83af955057988b0e5e723ab 100644 (file)
@@ -4612,12 +4612,14 @@ timer_check (do_it_now)
 }
 
 DEFUN ("current-idle-time", Fcurrent_idle_time, Scurrent_idle_time, 0, 0, 0,
-       doc: /* Return the current length of Emacs idleness.
-The value is returned as a list of three integers.  The first has the
+       doc: /* Return the current length of Emacs idleness, or nil.
+The value when Emacs is idle is a list of three integers.  The first has the
 most significant 16 bits of the seconds, while the second has the
 least significant 16 bits.  The third integer gives the microsecond
 count.
 
+The value when Emacs is not idle is nil.
+
 The microsecond count is zero on systems that do not provide
 resolution finer than a second.  */)
   ()