From 889a1fc8691494e795520a2b51e8f8fd6183dce0 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 17 Jul 2024 10:21:50 +0300 Subject: gnosis-face: New face: gnosis-face-unanswered. * Face used currently used for unanswered clozes. --- gnosis.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnosis.el b/gnosis.el index 06deab3..f2b9bb9 100644 --- a/gnosis.el +++ b/gnosis.el @@ -245,6 +245,11 @@ Seperate the question/stem from options." "Face for user choice." :group 'gnosis-face) +(defface gnosis-face-unanswered + '((t :inherit (italic underline))) + "Face for unanswered clozes." + :group 'gnosis-face) + (defface gnosis-face-hint '((t :inherit warning)) "Face for user choice." @@ -508,7 +513,7 @@ First item of answers will be marked as false, while the rest unanswered." (if unanswered (setq final (gnosis-cloze-mark-answers str-with-false (if (listp unanswered) unanswered (list unanswered)) - 'underline)) + 'gnosis-face-unanswered)) (setq final (or str-with-false str))) final)) -- cgit v1.2.3