diff options
| author | Paul Eggert | 2018-02-23 11:51:31 -0800 |
|---|---|---|
| committer | Paul Eggert | 2018-02-23 11:52:18 -0800 |
| commit | 8a73b80aa43862f6aadda54c3c1f2105c2cfd7f5 (patch) | |
| tree | da2ed9a2e210a35a1c6744c56b172a3446c86cac | |
| parent | 361a8b908b4cf3657699781d1f1c46f1a7d42d0a (diff) | |
| download | emacs-8a73b80aa43862f6aadda54c3c1f2105c2cfd7f5.tar.gz emacs-8a73b80aa43862f6aadda54c3c1f2105c2cfd7f5.zip | |
Minor doc fixes, mostly for timestamp issues
| -rw-r--r-- | doc/lispref/buffers.texi | 5 | ||||
| -rw-r--r-- | doc/lispref/files.texi | 3 | ||||
| -rw-r--r-- | doc/lispref/frames.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/functions.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/os.texi | 3 | ||||
| -rw-r--r-- | doc/lispref/positions.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/strings.texi | 2 |
7 files changed, 10 insertions, 9 deletions
diff --git a/doc/lispref/buffers.texi b/doc/lispref/buffers.texi index a572fc702bd..f64d6f1600e 100644 --- a/doc/lispref/buffers.texi +++ b/doc/lispref/buffers.texi | |||
| @@ -647,7 +647,7 @@ visiting a file or if the time has been explicitly cleared by | |||
| 647 | too. For instance, in a Dired buffer listing a directory, it returns | 647 | too. For instance, in a Dired buffer listing a directory, it returns |
| 648 | the last modification time of that directory, as recorded by Dired. | 648 | the last modification time of that directory, as recorded by Dired. |
| 649 | 649 | ||
| 650 | If the buffer is not visiting a file, this function returns -1. | 650 | If the buffer is not visiting a file, this function returns @minus{}1. |
| 651 | @end defun | 651 | @end defun |
| 652 | 652 | ||
| 653 | @defun set-visited-file-modtime &optional time | 653 | @defun set-visited-file-modtime &optional time |
| @@ -656,7 +656,8 @@ of the visited file, to the value specified by @var{time} if @var{time} | |||
| 656 | is not @code{nil}, and otherwise to the last modification time of the | 656 | is not @code{nil}, and otherwise to the last modification time of the |
| 657 | visited file. | 657 | visited file. |
| 658 | 658 | ||
| 659 | If @var{time} is neither @code{nil} nor zero, it should have the form | 659 | If @var{time} is neither @code{nil} nor an integer flag returned |
| 660 | by @code{visited-file-modtime}, it should have the form | ||
| 660 | @code{(@var{high} @var{low} @var{microsec} @var{picosec})}, | 661 | @code{(@var{high} @var{low} @var{microsec} @var{picosec})}, |
| 661 | the format used by @code{current-time} (@pxref{Time of Day}). | 662 | the format used by @code{current-time} (@pxref{Time of Day}). |
| 662 | 663 | ||
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index 57428ab40f3..5a8eeddcf6b 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi | |||
| @@ -1894,8 +1894,7 @@ all. | |||
| 1894 | This function sets the access and modification times of @var{filename} | 1894 | This function sets the access and modification times of @var{filename} |
| 1895 | to @var{time}. The return value is @code{t} if the times are successfully | 1895 | to @var{time}. The return value is @code{t} if the times are successfully |
| 1896 | set, otherwise it is @code{nil}. @var{time} defaults to the current | 1896 | set, otherwise it is @code{nil}. @var{time} defaults to the current |
| 1897 | time and must be in the format returned by @code{current-time} | 1897 | time and must be a time value (@pxref{Time of Day}). |
| 1898 | (@pxref{Time of Day}). | ||
| 1899 | @end defun | 1898 | @end defun |
| 1900 | 1899 | ||
| 1901 | @defun set-file-extended-attributes filename attribute-alist | 1900 | @defun set-file-extended-attributes filename attribute-alist |
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index c2fa1094821..2f9bb398865 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi | |||
| @@ -2277,7 +2277,7 @@ specifies the color mode to use on a text terminal. The value can be | |||
| 2277 | either a symbol or a number. A number specifies the number of colors | 2277 | either a symbol or a number. A number specifies the number of colors |
| 2278 | to use (and, indirectly, what commands to issue to produce each | 2278 | to use (and, indirectly, what commands to issue to produce each |
| 2279 | color). For example, @code{(tty-color-mode . 8)} specifies use of the | 2279 | color). For example, @code{(tty-color-mode . 8)} specifies use of the |
| 2280 | ANSI escape sequences for 8 standard text colors. A value of -1 turns | 2280 | ANSI escape sequences for 8 standard text colors. A value of @minus{}1 turns |
| 2281 | off color support. | 2281 | off color support. |
| 2282 | 2282 | ||
| 2283 | If the parameter's value is a symbol, it specifies a number through | 2283 | If the parameter's value is a symbol, it specifies a number through |
diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi index b53d1f0bb90..854dd33030c 100644 --- a/doc/lispref/functions.texi +++ b/doc/lispref/functions.texi | |||
| @@ -1629,7 +1629,7 @@ anonymous function. | |||
| 1629 | This specifies how to order the advice, should several pieces of | 1629 | This specifies how to order the advice, should several pieces of |
| 1630 | advice be present. By default, the depth is 0. A depth of 100 | 1630 | advice be present. By default, the depth is 0. A depth of 100 |
| 1631 | indicates that this piece of advice should be kept as deep as | 1631 | indicates that this piece of advice should be kept as deep as |
| 1632 | possible, whereas a depth of -100 indicates that it should stay as the | 1632 | possible, whereas a depth of @minus{}100 indicates that it should stay as the |
| 1633 | outermost piece. When two pieces of advice specify the same depth, | 1633 | outermost piece. When two pieces of advice specify the same depth, |
| 1634 | the most recently added one will be outermost. | 1634 | the most recently added one will be outermost. |
| 1635 | 1635 | ||
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi index 5dbdbdb9431..396d7dd045c 100644 --- a/doc/lispref/os.texi +++ b/doc/lispref/os.texi | |||
| @@ -1457,7 +1457,8 @@ on others, years as early as 1901 do work. | |||
| 1457 | @cindex formatting time values | 1457 | @cindex formatting time values |
| 1458 | 1458 | ||
| 1459 | These functions convert time values to text in a string, and vice versa. | 1459 | These functions convert time values to text in a string, and vice versa. |
| 1460 | Time values are lists of two to four integers (@pxref{Time of Day}). | 1460 | Time values include @code{nil}, numbers, and lists of two to four |
| 1461 | integers (@pxref{Time of Day}). | ||
| 1461 | 1462 | ||
| 1462 | @defun date-to-time string | 1463 | @defun date-to-time string |
| 1463 | This function parses the time-string @var{string} and returns the | 1464 | This function parses the time-string @var{string} and returns the |
diff --git a/doc/lispref/positions.texi b/doc/lispref/positions.texi index c89a87c2bb8..0a03e246c01 100644 --- a/doc/lispref/positions.texi +++ b/doc/lispref/positions.texi | |||
| @@ -602,7 +602,7 @@ line @var{count} screen lines from the top of the window; zero means | |||
| 602 | the topmost line. If @var{count} is negative, that specifies a | 602 | the topmost line. If @var{count} is negative, that specifies a |
| 603 | position @w{@minus{}@var{count}} lines from the bottom (or the last | 603 | position @w{@minus{}@var{count}} lines from the bottom (or the last |
| 604 | line of the buffer, if the buffer ends above the specified screen | 604 | line of the buffer, if the buffer ends above the specified screen |
| 605 | position); thus, @var{count} of -1 specifies the last fully visible | 605 | position); thus, @var{count} of @minus{}1 specifies the last fully visible |
| 606 | screen line of the window. | 606 | screen line of the window. |
| 607 | 607 | ||
| 608 | If @var{count} is @code{nil}, then point moves to the beginning of the | 608 | If @var{count} is @code{nil}, then point moves to the beginning of the |
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi index 756e7efb957..9b222a04c9f 100644 --- a/doc/lispref/strings.texi +++ b/doc/lispref/strings.texi | |||
| @@ -920,7 +920,7 @@ floating-point number. | |||
| 920 | @item %g | 920 | @item %g |
| 921 | Replace the specification with notation for a floating-point number, | 921 | Replace the specification with notation for a floating-point number, |
| 922 | using either exponential notation or decimal-point notation. The | 922 | using either exponential notation or decimal-point notation. The |
| 923 | exponential notation is used if the exponent would be less than -4 or | 923 | exponential notation is used if the exponent would be less than @minus{}4 or |
| 924 | greater than or equal to the precision (default: 6). By default, | 924 | greater than or equal to the precision (default: 6). By default, |
| 925 | trailing zeros are removed from the fractional portion of the result | 925 | trailing zeros are removed from the fractional portion of the result |
| 926 | and a decimal-point character appears only if it is followed by a | 926 | and a decimal-point character appears only if it is followed by a |