# HG changeset patch # User Gerd Moellmann # Date 1004358116 0 # Node ID 024f6efc3f87247723628c255296f61584a85c7a # Parent 6edf1e051b27c94251f02f3dcd41a903c45544bb (Fface_font): Use UNSPECIFIEDP instead of NILP for the slant attribute if FRAME is t. diff -r 6edf1e051b27 -r 024f6efc3f87 src/xfaces.c --- a/src/xfaces.c Mon Oct 29 12:21:26 2001 +0000 +++ b/src/xfaces.c Mon Oct 29 12:21:56 2001 +0000 @@ -4686,7 +4686,7 @@ && !EQ (LFACE_WEIGHT (lface), Qnormal)) result = Fcons (Qbold, result); - if (!NILP (LFACE_SLANT (lface)) + if (!UNSPECIFIEDP (LFACE_SLANT (lface)) && !EQ (LFACE_SLANT (lface), Qnormal)) result = Fcons (Qitalic, result);