diff options
| -rw-r--r-- | doc/lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/os.texi | 21 |
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 @@ | |||
| 1 | 2013-11-11 Xue Fuqiao <xfq.free@gmail.com> | ||
| 2 | |||
| 3 | * os.texi (User Identification, Time of Day, Time Conversion): | ||
| 4 | Minor fixes. | ||
| 5 | |||
| 1 | 2013-11-10 Jan Djärv <jan.h.d@swipnet.se> | 6 | 2013-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. | |||
| 552 | In some cases, the option is followed in the command line by an | 552 | In some cases, the option is followed in the command line by an |
| 553 | argument. In these cases, the @var{handler-function} can find all the | 553 | argument. In these cases, the @var{handler-function} can find all the |
| 554 | remaining command-line arguments in the variable | 554 | remaining 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 |
| 556 | arguments is in @code{command-line-args}.) | 556 | command-line arguments is in @code{command-line-args}.) |
| 557 | 557 | ||
| 558 | The command-line arguments are parsed by the @code{command-line-1} | 558 | The command-line arguments are parsed by the @code{command-line-1} |
| 559 | function in the @file{startup.el} file. See also @ref{Emacs | 559 | function 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 | |||
| 961 | removes @var{variable} from the environment. Otherwise, @var{value} | 961 | removes @var{variable} from the environment. Otherwise, @var{value} |
| 962 | should be a string. | 962 | should be a string. |
| 963 | 963 | ||
| 964 | @c FIXME: Document `substitute-env-vars'? --xfq | ||
| 964 | If the optional argument @var{substitute} is non-@code{nil}, Emacs | 965 | If the optional argument @var{substitute} is non-@code{nil}, Emacs |
| 965 | calls the function @code{substitute-env-vars} to expand any | 966 | calls the function @code{substitute-env-vars} to expand any |
| 966 | environment variables in @var{value}. | 967 | environment variables in @var{value}. |
| @@ -1097,9 +1098,9 @@ originally logged in. The value reflects command-line options such as | |||
| 1097 | Lisp packages that load files of customizations, or any other sort of | 1098 | Lisp packages that load files of customizations, or any other sort of |
| 1098 | user profile, should obey this variable in deciding where to find it. | 1099 | user profile, should obey this variable in deciding where to find it. |
| 1099 | They should load the profile of the user name found in this variable. | 1100 | They should load the profile of the user name found in this variable. |
| 1100 | If @code{init-file-user} is @code{nil}, meaning that the @samp{-q} | 1101 | If @code{init-file-user} is @code{nil}, meaning that the @samp{-q}, |
| 1101 | option was used, then Lisp packages should not load any customization | 1102 | @samp{-Q}, or @samp{-batch} option was used, then Lisp packages should |
| 1102 | files or user profile. | 1103 | not 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 | |||
| 1149 | variables are also useful for constructing frame titles (@pxref{Frame | 1150 | variables are also useful for constructing frame titles (@pxref{Frame |
| 1150 | Titles}). | 1151 | Titles}). |
| 1151 | 1152 | ||
| 1153 | @cindex UID | ||
| 1152 | @defun user-real-uid | 1154 | @defun user-real-uid |
| 1153 | This function returns the real @acronym{UID} of the user. | 1155 | This function returns the real @acronym{UID} of the user. |
| 1154 | The value may be a floating point number, in the (unlikely) event that | 1156 | The 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. | |||
| 1160 | The value may be a floating point number. | 1162 | The 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 |
| 1164 | This function returns the effective @acronym{GID} of the Emacs process. | 1167 | This function returns the effective @acronym{GID} of the Emacs process. |
| 1165 | The value may be a floating point number. | 1168 | The value may be a floating point number. |
| @@ -1219,9 +1222,9 @@ file-attributes}). In function arguments, e.g., the @var{time-value} | |||
| 1219 | argument to @code{current-time-string}, two-, three-, and four-integer | 1222 | argument to @code{current-time-string}, two-, three-, and four-integer |
| 1220 | lists are accepted. You can convert times from the list | 1223 | lists are accepted. You can convert times from the list |
| 1221 | representation into standard human-readable strings using | 1224 | representation 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 |
| 1223 | and @code{format-time-string} functions documented in the following | 1226 | @code{decode-time} and @code{format-time-string} functions documented |
| 1224 | sections. | 1227 | in the following sections. |
| 1225 | 1228 | ||
| 1226 | @defun current-time-string &optional time-value | 1229 | @defun current-time-string &optional time-value |
| 1227 | This function returns the current time and date as a human-readable | 1230 | This 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 | ||
| 1268 | This function returns a list describing the time zone that the user is | 1272 | This function returns a list describing the time zone that the user is |
| 1269 | in. | 1273 | in. |
| 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, |
| 1296 | as explained in the previous section) into calendrical information and | 1301 | as explained in the previous section) into calendrical information and |