Mercurial > emacs
comparison lisp/faces.el @ 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 | 1d8ba3dd04e9 |
children | 8b06b47a1fea |
comparison
equal
deleted
inserted
replaced
25615:c60d7a800e9c | 25616:4dbea85f5af0 |
---|---|
378 If the optional argument FRAME is given, report on face FACE in that frame. | 378 If the optional argument FRAME is given, report on face FACE in that frame. |
379 If FRAME is t, report on the defaults for face FACE (for new frames). | 379 If FRAME is t, report on the defaults for face FACE (for new frames). |
380 If FRAME is omitted or nil, use the selected frame. | 380 If FRAME is omitted or nil, use the selected frame. |
381 Use `face-attribute' for finer control." | 381 Use `face-attribute' for finer control." |
382 (let ((italic (face-attribute face :slant frame))) | 382 (let ((italic (face-attribute face :slant frame))) |
383 (not (memq italic '(normal unspecified))))) | 383 (memq italic '(italic oblique)))) |
384 | 384 |
385 | 385 |
386 | 386 |
387 | 387 |
388 | 388 |