changeset 25616:4dbea85f5af0

(face-italic-p): Return t only for values `italic' and `oblique'.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 09 Sep 1999 14:54:23 +0000
parents c60d7a800e9c
children 697b28471784
files lisp/faces.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/faces.el	Thu Sep 09 04:24:12 1999 +0000
+++ b/lisp/faces.el	Thu Sep 09 14:54:23 1999 +0000
@@ -380,7 +380,7 @@
 If FRAME is omitted or nil, use the selected frame.
 Use `face-attribute' for finer control."
   (let ((italic (face-attribute face :slant frame)))
-    (not (memq italic '(normal unspecified)))))
+    (memq italic '(italic oblique))))