aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2018-02-23 11:51:31 -0800
committerPaul Eggert2018-02-23 11:52:18 -0800
commit8a73b80aa43862f6aadda54c3c1f2105c2cfd7f5 (patch)
treeda2ed9a2e210a35a1c6744c56b172a3446c86cac
parent361a8b908b4cf3657699781d1f1c46f1a7d42d0a (diff)
downloademacs-8a73b80aa43862f6aadda54c3c1f2105c2cfd7f5.tar.gz
emacs-8a73b80aa43862f6aadda54c3c1f2105c2cfd7f5.zip
Minor doc fixes, mostly for timestamp issues
-rw-r--r--doc/lispref/buffers.texi5
-rw-r--r--doc/lispref/files.texi3
-rw-r--r--doc/lispref/frames.texi2
-rw-r--r--doc/lispref/functions.texi2
-rw-r--r--doc/lispref/os.texi3
-rw-r--r--doc/lispref/positions.texi2
-rw-r--r--doc/lispref/strings.texi2
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
647too. For instance, in a Dired buffer listing a directory, it returns 647too. For instance, in a Dired buffer listing a directory, it returns
648the last modification time of that directory, as recorded by Dired. 648the last modification time of that directory, as recorded by Dired.
649 649
650If the buffer is not visiting a file, this function returns -1. 650If 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}
656is not @code{nil}, and otherwise to the last modification time of the 656is not @code{nil}, and otherwise to the last modification time of the
657visited file. 657visited file.
658 658
659If @var{time} is neither @code{nil} nor zero, it should have the form 659If @var{time} is neither @code{nil} nor an integer flag returned
660by @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})},
661the format used by @code{current-time} (@pxref{Time of Day}). 662the 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.
1894This function sets the access and modification times of @var{filename} 1894This function sets the access and modification times of @var{filename}
1895to @var{time}. The return value is @code{t} if the times are successfully 1895to @var{time}. The return value is @code{t} if the times are successfully
1896set, otherwise it is @code{nil}. @var{time} defaults to the current 1896set, otherwise it is @code{nil}. @var{time} defaults to the current
1897time and must be in the format returned by @code{current-time} 1897time 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
2277either a symbol or a number. A number specifies the number of colors 2277either a symbol or a number. A number specifies the number of colors
2278to use (and, indirectly, what commands to issue to produce each 2278to use (and, indirectly, what commands to issue to produce each
2279color). For example, @code{(tty-color-mode . 8)} specifies use of the 2279color). For example, @code{(tty-color-mode . 8)} specifies use of the
2280ANSI escape sequences for 8 standard text colors. A value of -1 turns 2280ANSI escape sequences for 8 standard text colors. A value of @minus{}1 turns
2281off color support. 2281off color support.
2282 2282
2283If the parameter's value is a symbol, it specifies a number through 2283If 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.
1629This specifies how to order the advice, should several pieces of 1629This specifies how to order the advice, should several pieces of
1630advice be present. By default, the depth is 0. A depth of 100 1630advice be present. By default, the depth is 0. A depth of 100
1631indicates that this piece of advice should be kept as deep as 1631indicates that this piece of advice should be kept as deep as
1632possible, whereas a depth of -100 indicates that it should stay as the 1632possible, whereas a depth of @minus{}100 indicates that it should stay as the
1633outermost piece. When two pieces of advice specify the same depth, 1633outermost piece. When two pieces of advice specify the same depth,
1634the most recently added one will be outermost. 1634the 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.
1460Time values are lists of two to four integers (@pxref{Time of Day}). 1460Time values include @code{nil}, numbers, and lists of two to four
1461integers (@pxref{Time of Day}).
1461 1462
1462@defun date-to-time string 1463@defun date-to-time string
1463This function parses the time-string @var{string} and returns the 1464This 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
602the topmost line. If @var{count} is negative, that specifies a 602the topmost line. If @var{count} is negative, that specifies a
603position @w{@minus{}@var{count}} lines from the bottom (or the last 603position @w{@minus{}@var{count}} lines from the bottom (or the last
604line of the buffer, if the buffer ends above the specified screen 604line of the buffer, if the buffer ends above the specified screen
605position); thus, @var{count} of -1 specifies the last fully visible 605position); thus, @var{count} of @minus{}1 specifies the last fully visible
606screen line of the window. 606screen line of the window.
607 607
608If @var{count} is @code{nil}, then point moves to the beginning of the 608If @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
921Replace the specification with notation for a floating-point number, 921Replace the specification with notation for a floating-point number,
922using either exponential notation or decimal-point notation. The 922using either exponential notation or decimal-point notation. The
923exponential notation is used if the exponent would be less than -4 or 923exponential notation is used if the exponent would be less than @minus{}4 or
924greater than or equal to the precision (default: 6). By default, 924greater than or equal to the precision (default: 6). By default,
925trailing zeros are removed from the fractional portion of the result 925trailing zeros are removed from the fractional portion of the result
926and a decimal-point character appears only if it is followed by a 926and a decimal-point character appears only if it is followed by a