From 0f2c6573ceba133759963077a2f587ec643981cf Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 29 Oct 2001 12:21:56 +0000 Subject: [PATCH] (Fface_font): Use UNSPECIFIEDP instead of NILP for the slant attribute if FRAME is t. --- src/xfaces.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xfaces.c b/src/xfaces.c index bcb97aebb01..3f5a4f4403d 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -4686,7 +4686,7 @@ If FRAME is omitted or nil, use the selected frame. */) && !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); -- 2.39.2