mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-27 10:54:40 +00:00
(face-italic-p): Return t only for values `italic'
and `oblique'.
This commit is contained in:
parent
72bba429ca
commit
a48f602010
@ -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))))
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user