aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2019-09-30 10:49:50 +0300
committerEli Zaretskii2019-09-30 10:49:50 +0300
commit1e19ee781bf6aae4da32845acc6603d07a2d9c3c (patch)
tree047b1590b083af52f4f679ac41af6080ec86ccf4
parent13b9f6b6a06b5d8548ed2ee2f835605fefef0571 (diff)
downloademacs-1e19ee781bf6aae4da32845acc6603d07a2d9c3c.tar.gz
emacs-1e19ee781bf6aae4da32845acc6603d07a2d9c3c.zip
Improve description of face merging
* doc/lispref/display.texi (Displaying Faces): More accurate description of merging face attributes of "underlying text". (Bug#1222)
-rw-r--r--doc/lispref/display.texi11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index fd6820897f3..64b24f712ae 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -2949,11 +2949,12 @@ For a header line, Emacs applies the @code{header-line} face.
2949If the text comes from an overlay string via @code{before-string} or 2949If the text comes from an overlay string via @code{before-string} or
2950@code{after-string} properties (@pxref{Overlay Properties}), or from a 2950@code{after-string} properties (@pxref{Overlay Properties}), or from a
2951display string (@pxref{Other Display Specs}), and the string doesn't 2951display string (@pxref{Other Display Specs}), and the string doesn't
2952contain a @code{face} or @code{mouse-face} property, but the buffer 2952contain a @code{face} or @code{mouse-face} property, or these
2953text affected by the overlay/display property does define a face, 2953properties leave some face attributes undefined, but the buffer text
2954Emacs applies the face attributes of the ``underlying'' buffer text. 2954affected by the overlay/display property does define a face or those
2955Note that this is so even if the overlay or display string is 2955attributes, Emacs applies the face attributes of the ``underlying''
2956displayed in the display margins (@pxref{Display Margins}). 2956buffer text. Note that this is so even if the overlay or display
2957string is displayed in the display margins (@pxref{Display Margins}).
2957 2958
2958@item 2959@item
2959If any given attribute has not been specified during the preceding 2960If any given attribute has not been specified during the preceding