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:
parent
cc7d943794
commit
bfd5b3e8ce
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue