emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 43a5957: Adjust custom-face-attributes for 'regular' weight


From: Robert Pluim
Subject: master 43a5957: Adjust custom-face-attributes for 'regular' weight
Date: Fri, 26 Nov 2021 08:31:24 -0500 (EST)

branch: master
commit 43a595788de876b33cac0976548a0ce1c9add9c5
Author: Robert Pluim <rpluim@gmail.com>
Commit: Robert Pluim <rpluim@gmail.com>

    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.
---
 lisp/cus-face.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/cus-face.el b/lisp/cus-face.el
index f83f1a2..c78a327 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]