1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-19 18:13:55 +00: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:21:56 +00:00
parent ecd50f6599
commit 0f2c6573ce

View File

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