aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref
diff options
context:
space:
mode:
Diffstat (limited to 'doc/lispref')
-rw-r--r--doc/lispref/display.texi17
-rw-r--r--doc/lispref/modes.texi7
-rw-r--r--doc/lispref/strings.texi5
3 files changed, 16 insertions, 13 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 1956ee5503e..a7c1d0992de 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -1996,15 +1996,17 @@ newline.
1996 1996
1997 If the property value is @code{t}, the newline character has no 1997 If the property value is @code{t}, the newline character has no
1998effect on the displayed height of the line---the visible contents 1998effect on the displayed height of the line---the visible contents
1999alone determine the height. This is useful for tiling small images 1999alone determine the height. The @code{line-spacing} property,
2000(or image slices) without adding blank areas between the images. 2000described below, is also ignored in this case. This is useful for
2001tiling small images (or image slices) without adding blank areas
2002between the images.
2001 2003
2002 If the property value is a list of the form @code{(@var{height} 2004 If the property value is a list of the form @code{(@var{height}
2003@var{total})}, that adds extra space @emph{below} the display line. 2005@var{total})}, that adds extra space @emph{below} the display line.
2004First Emacs uses @var{height} as a height spec to control extra space 2006First Emacs uses @var{height} as a height spec to control extra space
2005@emph{above} the line; then it adds enough space @emph{below} the line 2007@emph{above} the line; then it adds enough space @emph{below} the line
2006to bring the total line height up to @var{total}. In this case, the 2008to bring the total line height up to @var{total}. In this case, any
2007other ways to specify the line spacing are ignored. 2009value of @code{line-spacing} property for the newline is ignored.
2008 2010
2009@cindex height spec 2011@cindex height spec
2010 Any other kind of property value is a height spec, which translates 2012 Any other kind of property value is a height spec, which translates
@@ -2054,9 +2056,10 @@ overrides line spacings specified for the frame.
2054 2056
2055@kindex line-spacing @r{(text property)} 2057@kindex line-spacing @r{(text property)}
2056 Finally, a newline can have a @code{line-spacing} text or overlay 2058 Finally, a newline can have a @code{line-spacing} text or overlay
2057property that overrides the default frame line spacing and the buffer 2059property that can enlarge the default frame line spacing and the
2058local @code{line-spacing} variable, for the display line ending in 2060buffer local @code{line-spacing} variable: if its value is larger than
2059that newline. 2061the buffer or frame defaults, that larger value is used instead, for
2062the display line ending in that newline.
2060 2063
2061 One way or another, these mechanisms specify a Lisp value for the 2064 One way or another, these mechanisms specify a Lisp value for the
2062spacing of each line. The value is a height spec, and it translates 2065spacing of each line. The value is a height spec, and it translates
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index 1285c1c69e6..368d882a4b8 100644
--- a/doc/lispref/modes.texi
+++ b/doc/lispref/modes.texi
@@ -799,10 +799,9 @@ if @var{parent} is @code{nil}. (Again, a @code{nil} value is
799 799
800@item :group 800@item :group
801If this is specified, the value should be the customization group for 801If this is specified, the value should be the customization group for
802this mode. (Not all major modes have one.) Only the (still 802this mode. (Not all major modes have one.) The command
803experimental and unadvertised) command @code{customize-mode} currently 803@code{customize-mode} uses this. @code{define-derived-mode} does
804uses this. @code{define-derived-mode} does @emph{not} automatically 804@emph{not} automatically define the specified customization group.
805define the specified customization group.
806 805
807@item :after-hook 806@item :after-hook
808This optional keyword specifies a single Lisp form to evaluate as the 807This optional keyword specifies a single Lisp form to evaluate as the
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi
index fc356af51ba..4e4c239291e 100644
--- a/doc/lispref/strings.texi
+++ b/doc/lispref/strings.texi
@@ -668,7 +668,7 @@ The strings are compared by the numeric values of their characters.
668For instance, @var{str1} is considered less than @var{str2} if 668For instance, @var{str1} is considered less than @var{str2} if
669its first differing character has a smaller numeric value. If 669its first differing character has a smaller numeric value. If
670@var{ignore-case} is non-@code{nil}, characters are converted to 670@var{ignore-case} is non-@code{nil}, characters are converted to
671lower-case before comparing them. Unibyte strings are converted to 671upper-case before comparing them. Unibyte strings are converted to
672multibyte for comparison (@pxref{Text Representations}), so that a 672multibyte for comparison (@pxref{Text Representations}), so that a
673unibyte string and its conversion to multibyte are always regarded as 673unibyte string and its conversion to multibyte are always regarded as
674equal. 674equal.
@@ -685,7 +685,8 @@ specified portion) is less.
685This function works like @code{assoc}, except that @var{key} must be a 685This function works like @code{assoc}, except that @var{key} must be a
686string or symbol, and comparison is done using @code{compare-strings}. 686string or symbol, and comparison is done using @code{compare-strings}.
687Symbols are converted to strings before testing. 687Symbols are converted to strings before testing.
688If @var{case-fold} is non-@code{nil}, it ignores case differences. 688If @var{case-fold} is non-@code{nil}, @var{key} and the elements of
689@var{alist} are converted to upper-case before comparison.
689Unlike @code{assoc}, this function can also match elements of the alist 690Unlike @code{assoc}, this function can also match elements of the alist
690that are strings or symbols rather than conses. In particular, @var{alist} can 691that are strings or symbols rather than conses. In particular, @var{alist} can
691be a list of strings or symbols rather than an actual alist. 692be a list of strings or symbols rather than an actual alist.