1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-23 13:02:00 -08:00

(Fface_font): Use UNSPECIFIEDP instead of NILP for

the slant attribute if FRAME is t.
This commit is contained in:
Gerd Moellmann 2001-10-29 12:23:21 +00:00
parent cc7d943794
commit bfd5b3e8ce

View file

@ -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);