From: Robert Pluim Date: Fri, 26 Nov 2021 13:08:24 +0000 (+0100) Subject: Adjust custom-face-attributes for 'regular' weight X-Git-Tag: emacs-29.0.90~2852^2~17 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=43a595788de876b33cac0976548a0ce1c9add9c5;p=emacs.git Adjust custom-face-attributes for 'regular' weight Following the changes to support "medium" weight fonts, the weight for "normal" fonts is now reported as 'regular', which caused customize-face to display faces as lisp-expressions, since it didn't recognize that. This has been corrected. * lisp/cus-face.el (custom-face-attributes): Recognize 'regular' as a weight. --- diff --git a/lisp/cus-face.el b/lisp/cus-face.el index f83f1a2daa0..c78a327fdfa 100644 --- a/lisp/cus-face.el +++ b/lisp/cus-face.el @@ -102,7 +102,7 @@ (const :tag "semi-light" semi-light) (const :tag "demilight" semi-light) (const :tag "normal" normal) - (const :tag "regular" normal) + (const :tag "regular" regular) (const :tag "book" normal) (const :tag "medium" medium) (const :tag "semibold" semi-bold)