From a7ea15df00577dfed8ee57f4b957874a175b3659 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 14 Nov 2020 10:05:59 +0100 Subject: [PATCH] Fix possible cyclic face definition in custom themes This might render Emacs unresponsive when trying to display text formatted with those faces, as happened on Emacs 27.1 and Windows 10. --- themes/db-dark-theme.el | 2 +- themes/db-light-theme.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/db-dark-theme.el b/themes/db-dark-theme.el index 32a3ec3..4989685 100644 --- a/themes/db-dark-theme.el +++ b/themes/db-dark-theme.el @@ -21,7 +21,7 @@ Known to work well with the `solarized-dark’ theme.") '(flyspell-duplicate ((t (:underline (:color "orange red" :style wave))))) '(flyspell-incorrect ((t (:underline (:color "orange red" :style wave))))) '(gnus-group-mail-2 ((t (:inherit outline-4 :weight normal)))) - '(gnus-group-mail-3 ((t (:inherit gnus-group-mail-3-empty :weight normal)))) + '(gnus-group-mail-3 ((t (:inherit outline-5 :weight normal)))) '(gnus-group-news-3 ((t (:inherit outline-5 :weight normal)))) '(gnus-summary-high-ancient ((t (:foreground "#268bd2" :weight normal)))) '(gnus-summary-high-read ((t (:foreground "#859900" :weight normal)))) diff --git a/themes/db-light-theme.el b/themes/db-light-theme.el index 8124f08..66acde3 100644 --- a/themes/db-light-theme.el +++ b/themes/db-light-theme.el @@ -21,7 +21,7 @@ '(flyspell-duplicate ((t (:underline (:color "orange red" :style wave))))) '(flyspell-incorrect ((t (:underline (:color "orange red" :style wave))))) '(gnus-group-mail-2 ((t (:inherit outline-4 :weight normal)))) - '(gnus-group-mail-3 ((t (:inherit gnus-group-mail-3-empty :weight normal)))) + '(gnus-group-mail-3 ((t (:inherit outline-5 :weight normal)))) '(gnus-group-news-3 ((t (:inherit outline-5 :weight normal)))) '(gnus-summary-high-ancient ((t (:foreground "#268bd2" :weight normal)))) '(gnus-summary-high-read ((t (:foreground "#859900" :weight normal))))