emacs-diffs
[Top][All Lists]
Advanced

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

master 824a139: Document that `unspecified' isn't valid in defface


From: Lars Ingebrigtsen
Subject: master 824a139: Document that `unspecified' isn't valid in defface
Date: Thu, 4 Nov 2021 13:58:38 -0400 (EDT)

branch: master
commit 824a139434855919073d6ea3c93d57ebd24fc75c
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Document that `unspecified' isn't valid in defface
    
    * doc/lispref/display.texi (Face Attributes): Mention that
    unspecified isn't valid in defface (bug#51595).
---
 doc/lispref/display.texi | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index aacbcaf..279b79a 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -2428,8 +2428,10 @@ value @code{unspecified}.  This special value means that 
the face
 doesn't specify that attribute directly.  An @code{unspecified}
 attribute tells Emacs to refer instead to a parent face (see the
 description @code{:inherit} attribute below); or, failing that, to an
-underlying face (@pxref{Displaying Faces}).  The @code{default} face
-must specify all attributes.
+underlying face (@pxref{Displaying Faces}).  (However,
+@code{unspecified} is not a valid value in @code{defface}.)
+
+  The @code{default} face must specify all attributes.
 
   Some of these attributes are meaningful only on certain kinds of
 displays.  If your display cannot handle a certain attribute, the



reply via email to

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