aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/os.texi21
2 files changed, 18 insertions, 8 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 504a6d55837..7c4fb4e9c6d 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
12013-11-11 Xue Fuqiao <xfq.free@gmail.com>
2
3 * os.texi (User Identification, Time of Day, Time Conversion):
4 Minor fixes.
5
12013-11-10 Jan Djärv <jan.h.d@swipnet.se> 62013-11-10 Jan Djärv <jan.h.d@swipnet.se>
2 7
3 * keymaps.texi (Tool Bar): Mention that Gtk+/NS ignores item 1 to 3. 8 * keymaps.texi (Tool Bar): Mention that Gtk+/NS ignores item 1 to 3.
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi
index ae1d2f4d0e2..9b10a437b16 100644
--- a/doc/lispref/os.texi
+++ b/doc/lispref/os.texi
@@ -552,8 +552,8 @@ sole argument.
552In some cases, the option is followed in the command line by an 552In some cases, the option is followed in the command line by an
553argument. In these cases, the @var{handler-function} can find all the 553argument. In these cases, the @var{handler-function} can find all the
554remaining command-line arguments in the variable 554remaining command-line arguments in the variable
555@code{command-line-args-left}. (The entire list of command-line 555@code{command-line-args-left} (see below). (The entire list of
556arguments is in @code{command-line-args}.) 556command-line arguments is in @code{command-line-args}.)
557 557
558The command-line arguments are parsed by the @code{command-line-1} 558The command-line arguments are parsed by the @code{command-line-1}
559function in the @file{startup.el} file. See also @ref{Emacs 559function in the @file{startup.el} file. See also @ref{Emacs
@@ -961,6 +961,7 @@ to access the value of @var{variable}. If @var{value} is omitted or
961removes @var{variable} from the environment. Otherwise, @var{value} 961removes @var{variable} from the environment. Otherwise, @var{value}
962should be a string. 962should be a string.
963 963
964@c FIXME: Document `substitute-env-vars'? --xfq
964If the optional argument @var{substitute} is non-@code{nil}, Emacs 965If the optional argument @var{substitute} is non-@code{nil}, Emacs
965calls the function @code{substitute-env-vars} to expand any 966calls the function @code{substitute-env-vars} to expand any
966environment variables in @var{value}. 967environment variables in @var{value}.
@@ -1097,9 +1098,9 @@ originally logged in. The value reflects command-line options such as
1097Lisp packages that load files of customizations, or any other sort of 1098Lisp packages that load files of customizations, or any other sort of
1098user profile, should obey this variable in deciding where to find it. 1099user profile, should obey this variable in deciding where to find it.
1099They should load the profile of the user name found in this variable. 1100They should load the profile of the user name found in this variable.
1100If @code{init-file-user} is @code{nil}, meaning that the @samp{-q} 1101If @code{init-file-user} is @code{nil}, meaning that the @samp{-q},
1101option was used, then Lisp packages should not load any customization 1102@samp{-Q}, or @samp{-batch} option was used, then Lisp packages should
1102files or user profile. 1103not load any customization files or user profile.
1103@end defvar 1104@end defvar
1104 1105
1105@defopt user-mail-address 1106@defopt user-mail-address
@@ -1149,6 +1150,7 @@ you to ``fake out'' Emacs by telling the functions what to return. The
1149variables are also useful for constructing frame titles (@pxref{Frame 1150variables are also useful for constructing frame titles (@pxref{Frame
1150Titles}). 1151Titles}).
1151 1152
1153@cindex UID
1152@defun user-real-uid 1154@defun user-real-uid
1153This function returns the real @acronym{UID} of the user. 1155This function returns the real @acronym{UID} of the user.
1154The value may be a floating point number, in the (unlikely) event that 1156The value may be a floating point number, in the (unlikely) event that
@@ -1160,6 +1162,7 @@ This function returns the effective @acronym{UID} of the user.
1160The value may be a floating point number. 1162The value may be a floating point number.
1161@end defun 1163@end defun
1162 1164
1165@cindex GID
1163@defun group-gid 1166@defun group-gid
1164This function returns the effective @acronym{GID} of the Emacs process. 1167This function returns the effective @acronym{GID} of the Emacs process.
1165The value may be a floating point number. 1168The value may be a floating point number.
@@ -1219,9 +1222,9 @@ file-attributes}). In function arguments, e.g., the @var{time-value}
1219argument to @code{current-time-string}, two-, three-, and four-integer 1222argument to @code{current-time-string}, two-, three-, and four-integer
1220lists are accepted. You can convert times from the list 1223lists are accepted. You can convert times from the list
1221representation into standard human-readable strings using 1224representation into standard human-readable strings using
1222@code{current-time}, or to other forms using the @code{decode-time} 1225@code{current-time-string}, or to other forms using the
1223and @code{format-time-string} functions documented in the following 1226@code{decode-time} and @code{format-time-string} functions documented
1224sections. 1227in the following sections.
1225 1228
1226@defun current-time-string &optional time-value 1229@defun current-time-string &optional time-value
1227This function returns the current time and date as a human-readable 1230This function returns the current time and date as a human-readable
@@ -1265,6 +1268,7 @@ exact. Do not use this function if precise time stamps are required.
1265@end defun 1268@end defun
1266 1269
1267@defun current-time-zone &optional time-value 1270@defun current-time-zone &optional time-value
1271@cindex time zone, current
1268This function returns a list describing the time zone that the user is 1272This function returns a list describing the time zone that the user is
1269in. 1273in.
1270 1274
@@ -1291,6 +1295,7 @@ time zone.
1291 1295
1292@node Time Conversion 1296@node Time Conversion
1293@section Time Conversion 1297@section Time Conversion
1298@cindex calendrical information
1294 1299
1295 These functions convert time values (lists of two to four integers, 1300 These functions convert time values (lists of two to four integers,
1296as explained in the previous section) into calendrical information and 1301as explained in the previous section) into calendrical information and