emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lispref/os.texi


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/lispref/os.texi
Date: Sun, 20 Apr 2003 21:38:24 -0400

Index: emacs/lispref/os.texi
diff -c emacs/lispref/os.texi:1.52 emacs/lispref/os.texi:1.53
*** emacs/lispref/os.texi:1.52  Sun Apr  6 17:12:02 2003
--- emacs/lispref/os.texi       Sun Apr 20 21:38:24 2003
***************
*** 1275,1282 ****
  @section Timers for Delayed Execution
  @cindex timer
  
!   You can set up a @dfn{timer} to call a function at a specified future time 
or
! after a certain length of idleness.
  
    Emacs cannot run timers at any arbitrary point in a Lisp program; it
  can run them only when Emacs could accept output from a subprocess:
--- 1275,1282 ----
  @section Timers for Delayed Execution
  @cindex timer
  
!   You can set up a @dfn{timer} to call a function at a specified
! future time or after a certain length of idleness.
  
    Emacs cannot run timers at any arbitrary point in a Lisp program; it
  can run them only when Emacs could accept output from a subprocess:
***************
*** 1284,1289 ****
--- 1284,1296 ----
  @code{sit-for} or @code{read-event} which @emph{can} wait.  Therefore, a
  timer's execution may be delayed if Emacs is busy.  However, the time of
  execution is very precise if Emacs is idle.
+ 
+   Emacs binds @code{inhibit-quit} to @code{t} before calling the timer
+ function, because quitting out of many timer functions can leave
+ things in an inconsistent state.  This is normally unproblematical
+ because most timer functions don't do a lot of work.  Indeed, for a
+ timer to calls a function that takes substantial time to run is likely
+ to be annoying.
  
  @defun run-at-time time repeat function &rest args
  This function arranges to call @var{function} with arguments @var{args}




reply via email to

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