emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/lispref/commands.texi
Date: Mon, 14 Jul 2003 11:53:03 -0400

Index: emacs/lispref/commands.texi
diff -c emacs/lispref/commands.texi:1.38 emacs/lispref/commands.texi:1.39
*** emacs/lispref/commands.texi:1.38    Tue Feb  4 09:47:52 2003
--- emacs/lispref/commands.texi Mon Jul 14 11:53:03 2003
***************
*** 90,95 ****
--- 90,99 ----
  these hooks, it terminates execution of the hook, and clears the hook
  variable to @code{nil} so as to prevent an infinite loop of errors.
  
+   A request coming into the Emacs server (@pxref{Emacs Server,,,
+ emacs, The GNU Emacs Manual}) runs these two hooks just as a keyboard
+ command does.
+ 
  @node Defining Commands
  @section Defining Commands
  @cindex defining commands
***************
*** 2247,2253 ****
  input comes in, while @code{sleep-for} pauses without updating the
  screen.
  
! @defun sit-for seconds &optional millisec nodisp
  This function performs redisplay (provided there is no pending input
  from the user), then waits @var{seconds} seconds, or until input is
  available.  The value is @code{t} if @code{sit-for} waited the full
--- 2251,2257 ----
  input comes in, while @code{sleep-for} pauses without updating the
  screen.
  
! @defun sit-for seconds &optional nodisp
  This function performs redisplay (provided there is no pending input
  from the user), then waits @var{seconds} seconds, or until input is
  available.  The value is @code{t} if @code{sit-for} waited the full
***************
*** 2259,2269 ****
  Some systems support only a whole number of seconds; on these systems,
  @var{seconds} is rounded down.
  
- The optional argument @var{millisec} specifies an additional waiting
- period measured in milliseconds.  This adds to the period specified by
- @var{seconds}.  If the system doesn't support waiting fractions of a
- second, you get an error if you specify nonzero @var{millisec}.
- 
  The expression @code{(sit-for 0)} is a convenient way to request a
  redisplay, without any delay.  @xref{Forcing Redisplay}.
  
--- 2263,2268 ----
***************
*** 2276,2281 ****
--- 2275,2284 ----
  
  The usual purpose of @code{sit-for} is to give the user time to read
  text that you display.
+ 
+ It is also possible to call @code{sit-for} with three arguments,
+ as @code{(sit-for @var{seconds} @var{millisec} @var{nodisp})},
+ but that is considered obsolete.
  @end defun
  
  @defun sleep-for seconds &optional millisec




reply via email to

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