aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2001-10-29 12:21:56 +0000
committerGerd Moellmann2001-10-29 12:21:56 +0000
commit0f2c6573ceba133759963077a2f587ec643981cf (patch)
tree0daad42c9903397e033b9797abeeb073dcfd6f17 /src
parentecd50f6599580683141373ab23344569ff70d0a5 (diff)
downloademacs-0f2c6573ceba133759963077a2f587ec643981cf.tar.gz
emacs-0f2c6573ceba133759963077a2f587ec643981cf.zip
(Fface_font): Use UNSPECIFIEDP instead of NILP for
the slant attribute if FRAME is t.
Diffstat (limited to 'src')
-rw-r--r--src/xfaces.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index bcb97aebb01..3f5a4f4403d 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -4686,7 +4686,7 @@ If FRAME is omitted or nil, use the selected frame. */)
4686 && !EQ (LFACE_WEIGHT (lface), Qnormal)) 4686 && !EQ (LFACE_WEIGHT (lface), Qnormal))
4687 result = Fcons (Qbold, result); 4687 result = Fcons (Qbold, result);
4688 4688
4689 if (!NILP (LFACE_SLANT (lface)) 4689 if (!UNSPECIFIEDP (LFACE_SLANT (lface))
4690 && !EQ (LFACE_SLANT (lface), Qnormal)) 4690 && !EQ (LFACE_SLANT (lface), Qnormal))
4691 result = Fcons (Qitalic, result); 4691 result = Fcons (Qitalic, result);
4692 4692