Mercurial > emacs
diff src/xfaces.c @ 56694:d5801cbd92f5
(merge_face_ref): Specifying `unspecified' is a no-op.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 16 Aug 2004 22:53:28 +0000 |
parents | b058a7674dcd |
children | 0d0a17cf1b63 b15f799f66b5 d8411455de48 |
line wrap: on
line diff
--- a/src/xfaces.c Mon Aug 16 22:52:29 2004 +0000 +++ b/src/xfaces.c Mon Aug 16 22:53:28 2004 +0000 @@ -3626,7 +3626,10 @@ Lisp_Object value = XCAR (XCDR (face_ref)); int err = 0; - if (EQ (keyword, QCfamily)) + /* Specifying `unspecified' is a no-op. */ + if (EQ (value, Qunspecified)) + ; + else if (EQ (keyword, QCfamily)) { if (STRINGP (value)) to[LFACE_FAMILY_INDEX] = value;