:ignore-
defface for new frame defaults when `unspecified' is
supplied.
(Finternal_get_lisp_face_attribute): Hide :ignore-
defface.
+2005-11-20 Chong Yidong <cyd@stupidchicken.com>
+
+ * xfaces.c (Finternal_set_lisp_face_attribute): Use
+ :ignore-defface for new frame defaults when `unspecified' is
+ supplied.
+ (Finternal_get_lisp_face_attribute): Hide :ignore-defface.
+
2005-11-20 Juri Linkov <juri@jurta.org>
* charset.c (invalid_character): Use Lisp-readable syntax
/* Set lface to the Lisp attribute vector of FACE. */
if (EQ (frame, Qt))
- lface = lface_from_face_name (NULL, face, 1);
+ {
+ lface = lface_from_face_name (NULL, face, 1);
+ if (UNSPECIFIEDP (value))
+ value = Qignore_defface;
+ }
else
{
if (NILP (frame))
else
signal_error ("Invalid face attribute name", keyword);
+ if (IGNORE_DEFFACE_P (value))
+ return Qunspecified;
+
return value;
}