Commit a48f6020 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(face-italic-p): Return t only for values `italic'

and `oblique'.
parent 72bba429
......@@ -380,7 +380,7 @@ If FRAME is t, report on the defaults for face FACE (for new frames).
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))))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment