summaryrefslogtreecommitdiff
path: root/doc/lispref/os.texi
diff options
context:
space:
mode:
authorXue Fuqiao <xfq.free@gmail.com>2013-11-18 06:30:44 +0800
committerXue Fuqiao <xfq.free@gmail.com>2013-11-18 06:30:44 +0800
commitde586f99e98f9ace3dc33933094046671ee7fa3c (patch)
tree0b864454f968d494d95603c5ee4919021d35da34 /doc/lispref/os.texi
parent56cd894e90949294d9578fd9fa45a179389f3306 (diff)
downloademacs-de586f99e98f9ace3dc33933094046671ee7fa3c.tar.gz
Minor doc fixes.
* doc/lispref/os.texi (Time Parsing): (Processor Run Time, Input Modes, Terminal Output): Minor fixes.
Diffstat (limited to 'doc/lispref/os.texi')
-rw-r--r--doc/lispref/os.texi22
1 files changed, 12 insertions, 10 deletions
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi
index 9b10a437b16..0cd9e1465dc 100644
--- a/doc/lispref/os.texi
+++ b/doc/lispref/os.texi
@@ -1524,7 +1524,7 @@ system.
@defun seconds-to-time seconds
This function converts @var{seconds}, a floating point number of
seconds since the epoch, to a time value and returns that. To perform
-the inverse conversion, use @code{float-time}.
+the inverse conversion, use @code{float-time} (@pxref{Time of Day}).
@end defun
@defun format-seconds format-string seconds
@@ -1586,6 +1586,7 @@ most-positive-fixnum}).
both elapsed and processor time, used by the Emacs process.
@deffn Command emacs-uptime &optional format
+@cindex uptime of Emacs
This function returns a string representing the Emacs
@dfn{uptime}---the elapsed wall-clock time this instance of Emacs is
running. The string is formatted by @code{format-seconds} according
@@ -1922,10 +1923,10 @@ functions.
@defun set-input-mode interrupt flow meta &optional quit-char
This function sets the mode for reading keyboard input. If
-@var{interrupt} is non-null, then Emacs uses input interrupts. If it is
-@code{nil}, then it uses @sc{cbreak} mode. The default setting is
-system-dependent. Some systems always use @sc{cbreak} mode regardless
-of what is specified.
+@var{interrupt} is non-@code{nil}, then Emacs uses input interrupts.
+If it is @code{nil}, then it uses @sc{cbreak} mode. The default
+setting is system-dependent. Some systems always use @sc{cbreak} mode
+regardless of what is specified.
When Emacs communicates directly with X, it ignores this argument and
uses interrupts if that is the way it knows how to communicate.
@@ -2075,17 +2076,17 @@ often than to actual Emacs bugs. Once you are certain which characters
were actually output, you can determine reliably whether they correspond
to the Termcap specifications in use.
-You close the termscript file by calling this function with an
-argument of @code{nil}.
-
-See also @code{open-dribble-file} in @ref{Recording Input}.
-
@example
@group
(open-termscript "../junk/termscript")
@result{} nil
@end group
@end example
+
+You close the termscript file by calling this function with an
+argument of @code{nil}.
+
+See also @code{open-dribble-file} in @ref{Recording Input}.
@end deffn
@node Sound Output
@@ -2096,6 +2097,7 @@ See also @code{open-dribble-file} in @ref{Recording Input}.
certain systems are supported; if you call @code{play-sound} on a
system which cannot really do the job, it gives an error.
+@c FIXME: Add indexes for Au and WAV? --xfq
The sound must be stored as a file in RIFF-WAVE format (@samp{.wav})
or Sun Audio format (@samp{.au}).