Mercurial > emacs
diff lisp/faces.el @ 25561:67c224f5cc1a
(face-bold-p): Don't return t if face has lighter
weight than normal.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 06 Sep 1999 15:57:48 +0000 |
parents | b0a117037bde |
children | 1d8ba3dd04e9 |
line wrap: on
line diff
--- a/lisp/faces.el Mon Sep 06 11:47:56 1999 +0000 +++ b/lisp/faces.el Mon Sep 06 15:57:48 1999 +0000 @@ -370,7 +370,7 @@ If FRAME is omitted or nil, use the selected frame. Use `face-attribute' for finer control." (let ((bold (face-attribute face :weight frame))) - (not (memq bold '(normal unspecified))))) + (memq bold '(semi-bold bold extra-bold ultra-bold)))) (defun face-italic-p (face &optional frame)