emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 6238b6c: Clarify documentation of ':inherit' face a


From: Eli Zaretskii
Subject: [Emacs-diffs] master 6238b6c: Clarify documentation of ':inherit' face attribute
Date: Sat, 29 Jul 2017 03:00:19 -0400 (EDT)

branch: master
commit 6238b6c0d4176621a1f224291f41e5d71c0c9968
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Clarify documentation of ':inherit' face attribute
    
    * doc/lispref/display.texi (Face Attributes): Document the special
    treatment of 'unspecified' in the ':inherit' attribute.
---
 doc/lispref/display.texi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index f5c73e5..2ed848a 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -2423,7 +2423,9 @@ the values of the @code{:family}, @code{:foundry}, 
@code{:width},
 The name of a face from which to inherit attributes, or a list of face
 names.  Attributes from inherited faces are merged into the face like
 an underlying face would be, with higher priority than underlying
-faces (@pxref{Displaying Faces}).  If a list of faces is used,
+faces (@pxref{Displaying Faces}).  If the face to inherit from is
address@hidden, it is treated the same as @code{nil}, since Emacs
+never merges @code{:inherit} attributes.  If a list of faces is used,
 attributes from faces earlier in the list override those from later
 faces.
 @end table



reply via email to

[Prev in Thread] Current Thread [Next in Thread]