From: Gerd Moellmann Date: Mon, 29 Oct 2001 12:23:21 +0000 (+0000) Subject: (Fface_font): Use UNSPECIFIEDP instead of NILP for X-Git-Tag: emacs-21.2~425 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bfd5b3e8cec64a1d3afef8b5959b435f3c8d5d4c;p=emacs.git (Fface_font): Use UNSPECIFIEDP instead of NILP for the slant attribute if FRAME is t. --- diff --git a/src/xfaces.c b/src/xfaces.c index e39dfe214f7..dbcc7d77224 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -4664,7 +4664,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);