From da2c7b8cd5a2ed62228663f2b57339f748fb7e7d Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 6 Sep 1999 15:57:48 +0000 Subject: [PATCH] (face-bold-p): Don't return t if face has lighter weight than normal. --- lisp/faces.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/faces.el b/lisp/faces.el index 22fdc20855d..2fef37d49b8 100644 --- a/lisp/faces.el +++ b/lisp/faces.el @@ -370,7 +370,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 ((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) -- 2.39.5