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:
parent
ecd50f6599
commit
0f2c6573ce
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user