From 5306baa97b39ad28664a97bcf1fae0246dbcc2ff Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 24 Dec 2014 16:54:55 -0800 Subject: [PATCH] Markup fixes for doc/lispref * doc/lispref/control.texi (Pattern matching case statement): * doc/lispref/positions.texi (List Motion): * doc/lispref/streams.texi (Output Functions): * doc/lispref/strings.texi (Text Comparison): * doc/lispref/text.texi (Document Object Model): Markup fixes. --- doc/lispref/ChangeLog | 8 ++++++++ doc/lispref/control.texi | 6 +++--- doc/lispref/positions.texi | 4 ++-- doc/lispref/streams.texi | 2 +- doc/lispref/strings.texi | 10 +++++----- doc/lispref/text.texi | 2 +- 6 files changed, 20 insertions(+), 12 deletions(-) diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 3621c563d79..84654387dcd 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,11 @@ +2014-12-25 Glenn Morris + + * control.texi (Pattern matching case statement): + * positions.texi (List Motion): + * streams.texi (Output Functions): + * strings.texi (Text Comparison): + * text.texi (Document Object Model): Markup fixes. + 2014-12-22 Paul Eggert Remove obsolete references to pre-C99 builds diff --git a/doc/lispref/control.texi b/doc/lispref/control.texi index 5cf6368db52..ea212337c96 100644 --- a/doc/lispref/control.texi +++ b/doc/lispref/control.texi @@ -370,9 +370,9 @@ More specifically, a Q-pattern can take the following forms: @item (@var{qpattern1} . @var{qpattern2}) This pattern matches any cons cell whose @code{car} matches @var{QPATTERN1} and whose @code{cdr} matches @var{PATTERN2}. -@item [@var{qpattern1 qpattern2..qpatternm}] -This pattern matches a vector of length @code{M} whose 0..(M-1)th -elements match @var{QPATTERN1}, @var{QPATTERN2}..@var{QPATTERNm}, +@item [@var{qpattern1} @var{qpattern2} @dots{} @var{qpatternm}] +This pattern matches a vector of length @var{M} whose 0..(@var{M}-1)th +elements match @var{qpattern1}, @var{qpattern2} @dots{} @var{qpatternm}, respectively. @item @var{atom} This pattern matches any atom @code{equal} to @var{atom}. diff --git a/doc/lispref/positions.texi b/doc/lispref/positions.texi index e32f0ef0b34..032baa9d2e3 100644 --- a/doc/lispref/positions.texi +++ b/doc/lispref/positions.texi @@ -654,9 +654,9 @@ quotes are ignored.) @deffn Command up-list &optional arg escape-strings no-syntax-crossing This function moves forward out of @var{arg} (default 1) levels of parentheses. A negative argument means move backward but still to a -less deep spot. If @var{escape-strings} is non-nil (as it is +less deep spot. If @var{escape-strings} is non-@code{nil} (as it is interactively), move out of enclosing strings as well. If -@var{no-syntax-crossing} is non-nil (as it is interactively), prefer +@var{no-syntax-crossing} is non-@code{nil} (as it is interactively), prefer to break out of any enclosing string instead of moving to the start of a list broken across multiple strings. On error, location of point is unspecified. diff --git a/doc/lispref/streams.texi b/doc/lispref/streams.texi index c287b617713..b12adcf3dcf 100644 --- a/doc/lispref/streams.texi +++ b/doc/lispref/streams.texi @@ -618,7 +618,7 @@ spacing between calls. @defun terpri &optional stream ensure @cindex newline in print This function outputs a newline to @var{stream}. The name stands for -``terminate print''. If @var{ensure} is non-nil no newline is printed +``terminate print''. If @var{ensure} is non-@code{nil} no newline is printed if @var{stream} is already at the beginning of a line. Note in this case @var{stream} can not be a function and an error is signalled if it is. This function returns @code{t} if a newline is printed. diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi index 5e0148b75a9..1ecc5671a90 100644 --- a/doc/lispref/strings.texi +++ b/doc/lispref/strings.texi @@ -483,17 +483,17 @@ dependent; a @var{locale} "en_US.UTF-8" is applicable on POSIX systems, while it would be, e.g., "enu_USA.1252" on MS-Windows systems. -If @var{IGNORE-CASE} is non-nil, characters are converted to lower-case +If @var{ignore-case} is non-@code{nil}, characters are converted to lower-case before comparing them. To emulate Unicode-compliant collation on MS-Windows systems, -bind @code{w32-collate-ignore-punctuation} to a non-nil value, since +bind @code{w32-collate-ignore-punctuation} to a non-@code{nil} value, since the codeset part of the locale cannot be "UTF-8" on MS-Windows. If your system does not support a locale environment, this function behaves like @code{string-equal}. -Do NOT use this function to compare file names for equality, only +Do @emph{not} use this function to compare file names for equality, only for sorting them. @end defun @@ -602,11 +602,11 @@ behave like @code{string-lessp}: @end group @end example -If @var{IGNORE-CASE} is non-nil, characters are converted to lower-case +If @var{ignore-case} is non-@code{nil}, characters are converted to lower-case before comparing them. To emulate Unicode-compliant collation on MS-Windows systems, -bind @code{w32-collate-ignore-punctuation} to a non-nil value, since +bind @code{w32-collate-ignore-punctuation} to a non-@code{nil} value, since the codeset part of the locale cannot be "UTF-8" on MS-Windows. If your system does not support a locale environment, this function diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index 3ef565b8f30..06d1381278c 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi @@ -4467,7 +4467,7 @@ Append @var{child} as the last child of @var{node}. @item dom-add-child-before @var{node} @var{child} @var{before} Add @var{child} to @var{node}'s child list before the @var{before} -node. If @var{before} is nil, make @var{child} the first child. +node. If @var{before} is @code{nil}, make @var{child} the first child. @item dom-set-attributes @var{node} @var{attributes} Replace all the attributes of the node with a new key/value list. -- 2.39.2