]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fface_font): Use UNSPECIFIEDP instead of NILP for
authorGerd Moellmann <gerd@gnu.org>
Mon, 29 Oct 2001 12:21:56 +0000 (12:21 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 29 Oct 2001 12:21:56 +0000 (12:21 +0000)
the slant attribute if FRAME is t.

src/xfaces.c

index bcb97aebb010d7cf2dcd03ef1c0afaaecb42e02d..3f5a4f4403dca82c7a9a1312ab0d8e9b7860931f 100644 (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);