summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Pluim <rpluim@gmail.com>2021-11-26 14:08:24 +0100
committerRobert Pluim <rpluim@gmail.com>2021-11-26 14:29:32 +0100
commit43a595788de876b33cac0976548a0ce1c9add9c5 (patch)
tree47a2da18bddb229711d795597fd671c1ba535a08
parent3f843b25dc96867043feebb1d928bde4a7a777a3 (diff)
downloademacs-43a595788de876b33cac0976548a0ce1c9add9c5.tar.gz
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.
-rw-r--r--lisp/cus-face.el2
1 files changed, 1 insertions, 1 deletions
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)