summaryrefslogtreecommitdiff
path: root/lispref
diff options
context:
space:
mode:
authorKarl Berry <karl@gnu.org>2006-07-16 18:25:23 +0000
committerKarl Berry <karl@gnu.org>2006-07-16 18:25:23 +0000
commitece35e15a7e73189b45b7c2d2fddcd6f46b0476f (patch)
treea785493e0cb209c32b27d5eac2a6fe1ec144ee03 /lispref
parent912c723552fdb9ff934d768e032b56c23911f2ab (diff)
downloademacs-ece35e15a7e73189b45b7c2d2fddcd6f46b0476f.tar.gz
fix bad page breaks
Diffstat (limited to 'lispref')
-rw-r--r--lispref/ChangeLog3
-rw-r--r--lispref/hash.texi1
-rw-r--r--lispref/lists.texi8
-rw-r--r--lispref/numbers.texi7
-rw-r--r--lispref/objects.texi2
-rw-r--r--lispref/strings.texi13
6 files changed, 19 insertions, 15 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index ab74a2d4352..3a6818c46e2 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,5 +1,8 @@
2006-07-16 Karl Berry <karl@gnu.org>
+ * objects.texi, numbers.texi, strings.texi, lists.texi, hash.texi:
+ fix bad page breaks through chapter 7 (hash.texi).
+
* anti.texi (Antinews): reorder face-attribute fns to avoid
underfull hbox.
diff --git a/lispref/hash.texi b/lispref/hash.texi
index 1913905af8d..bcc9957228a 100644
--- a/lispref/hash.texi
+++ b/lispref/hash.texi
@@ -269,7 +269,6 @@ compared case-insensitively.
@example
(defun case-fold-string= (a b)
(compare-strings a nil nil b nil nil t))
-
(defun case-fold-string-hash (a)
(sxhash (upcase a)))
diff --git a/lispref/lists.texi b/lispref/lists.texi
index 7de4a6c6ab0..17d3ebc6c44 100644
--- a/lispref/lists.texi
+++ b/lispref/lists.texi
@@ -1412,8 +1412,8 @@ the value @code{cones}; the key @code{oak} is associated with
@end group
@end example
- The associated values in an alist may be any Lisp objects; so may the
-keys. For example, in the following alist, the symbol @code{a} is
+ Both the values and the keys in an alist may be any Lisp objects.
+For example, in the following alist, the symbol @code{a} is
associated with the number @code{1}, and the string @code{"b"} is
associated with the @emph{list} @code{(2 3)}, which is the @sc{cdr} of
the alist element:
@@ -1439,7 +1439,7 @@ below) to find the element containing a given value. When neither of
these considerations is important, the choice is a matter of taste, as
long as you are consistent about it for any given alist.
- Note that the same alist shown above could be regarded as having the
+ The same alist shown above could be regarded as having the
associated value in the @sc{cdr} of the element; the value associated
with @code{rose} would be the list @code{(red)}.
@@ -1557,7 +1557,7 @@ For example:
@result{} nil
@end smallexample
-Note that @code{rassq} cannot search for a value stored in the @sc{car}
+@code{rassq} cannot search for a value stored in the @sc{car}
of the @sc{cdr} of an element:
@smallexample
diff --git a/lispref/numbers.texi b/lispref/numbers.texi
index bac3b0e114c..6e0de2007d4 100644
--- a/lispref/numbers.texi
+++ b/lispref/numbers.texi
@@ -606,12 +606,11 @@ otherwise, it signals an @code{arith-error} error.
@result{} 2.5
(/ 25 3 2)
@result{} 4
+@group
(/ -17 6)
- @result{} -2
+ @result{} -2 @r{(could in theory be @minus{}3 on some machines)}
+@end group
@end example
-
-The result of @code{(/ -17 6)} could in principle be -3 on some
-machines.
@end defun
@defun % dividend divisor
diff --git a/lispref/objects.texi b/lispref/objects.texi
index 3b51b96c780..f708ab79f5e 100644
--- a/lispref/objects.texi
+++ b/lispref/objects.texi
@@ -1822,12 +1822,14 @@ This function returns a symbol naming the primitive type of
@example
(type-of 1)
@result{} integer
+@group
(type-of 'nil)
@result{} symbol
(type-of '()) ; @r{@code{()} is @code{nil}.}
@result{} symbol
(type-of '(x))
@result{} cons
+@end group
@end example
@end defun
diff --git a/lispref/strings.texi b/lispref/strings.texi
index 796090bb80c..861e5b1c728 100644
--- a/lispref/strings.texi
+++ b/lispref/strings.texi
@@ -285,7 +285,7 @@ If @var{omit-nulls} is @code{nil}, the result contains null strings
whenever there are two consecutive matches for @var{separators}, or a
match is adjacent to the beginning or end of @var{string}. If
@var{omit-nulls} is @code{t}, these null strings are omitted from the
-result list.
+result.
If @var{separators} is @code{nil} (or omitted),
the default is the value of @code{split-string-default-separators}.
@@ -544,10 +544,11 @@ be a list of strings rather than an actual alist.
@xref{Association Lists}.
@end defun
- See also @code{compare-buffer-substrings} in @ref{Comparing Text}, for
-a way to compare text in buffers. The function @code{string-match},
-which matches a regular expression against a string, can be used
-for a kind of string comparison; see @ref{Regexp Search}.
+ See also the @code{compare-buffer-substrings} function in
+@ref{Comparing Text}, for a way to compare text in buffers. The
+function @code{string-match}, which matches a regular expression
+against a string, can be used for a kind of string comparison; see
+@ref{Regexp Search}.
@node String Conversion
@comment node-name, next, previous, up
@@ -566,7 +567,7 @@ text representation of a string (@pxref{Converting Representations}).
@xref{Documentation}, for functions that produce textual descriptions
of text characters and general input events
(@code{single-key-description} and @code{text-char-description}). These
-functions are used primarily for making help messages.
+are used primarily for making help messages.
@defun char-to-string character
@cindex character to string