diff options
| author | Eli Zaretskii | 2019-09-30 10:49:50 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2019-09-30 10:49:50 +0300 |
| commit | 1e19ee781bf6aae4da32845acc6603d07a2d9c3c (patch) | |
| tree | 047b1590b083af52f4f679ac41af6080ec86ccf4 | |
| parent | 13b9f6b6a06b5d8548ed2ee2f835605fefef0571 (diff) | |
| download | emacs-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.texi | 11 |
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. | |||
| 2949 | If the text comes from an overlay string via @code{before-string} or | 2949 | If 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 |
| 2951 | display string (@pxref{Other Display Specs}), and the string doesn't | 2951 | display string (@pxref{Other Display Specs}), and the string doesn't |
| 2952 | contain a @code{face} or @code{mouse-face} property, but the buffer | 2952 | contain a @code{face} or @code{mouse-face} property, or these |
| 2953 | text affected by the overlay/display property does define a face, | 2953 | properties leave some face attributes undefined, but the buffer text |
| 2954 | Emacs applies the face attributes of the ``underlying'' buffer text. | 2954 | affected by the overlay/display property does define a face or those |
| 2955 | Note that this is so even if the overlay or display string is | 2955 | attributes, Emacs applies the face attributes of the ``underlying'' |
| 2956 | displayed in the display margins (@pxref{Display Margins}). | 2956 | buffer text. Note that this is so even if the overlay or display |
| 2957 | string is displayed in the display margins (@pxref{Display Margins}). | ||
| 2957 | 2958 | ||
| 2958 | @item | 2959 | @item |
| 2959 | If any given attribute has not been specified during the preceding | 2960 | If any given attribute has not been specified during the preceding |