Mercurial > emacs
diff src/xfaces.c @ 40441:024f6efc3f87
(Fface_font): Use UNSPECIFIEDP instead of NILP for
the slant attribute if FRAME is t.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 29 Oct 2001 12:21:56 +0000 |
parents | 560b1c474b1a |
children | 221868112227 |
line wrap: on
line diff
--- a/src/xfaces.c Mon Oct 29 12:21:26 2001 +0000 +++ b/src/xfaces.c Mon Oct 29 12:21:56 2001 +0000 @@ -4686,7 +4686,7 @@ && !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);