Mercurial > emacs
changeset 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 | d66d7e7354e3 |
children | 62660593b0a2 |
files | src/xfaces.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
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;