summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-07-17 10:21:50 +0300
committerThanos Apollo <[email protected]>2024-07-17 10:21:50 +0300
commit889a1fc8691494e795520a2b51e8f8fd6183dce0 (patch)
tree91b9ae69c415ad07ce4919a1d394e0e8a096f8ff
parent0c4b2c0ef4386df9e5277472fd2c244f442c4f14 (diff)
gnosis-face: New face: gnosis-face-unanswered.
* Face used currently used for unanswered clozes.
-rw-r--r--gnosis.el7
1 files changed, 6 insertions, 1 deletions
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))