summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-12-28 13:26:59 +0200
committerThanos Apollo <[email protected]>2023-12-28 13:26:59 +0200
commit721981e398d48f31c7d067f8add9bee24748e511 (patch)
tree3616516de868713f01e6c41402a83eff91745aeb /gnosis.el
parent3b193cae8903be1a760a7c04e50189dcfcf786cf (diff)
gnosis-display: Use gnosis-face-cloze to display clozes
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnosis.el b/gnosis.el
index 2cd5425..54ab00d 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -111,8 +111,9 @@ Example:
"Display cloze sentence for SENTENCE with CLOZES."
(with-gnosis-buffer
(erase-buffer)
- (fill-paragraph (insert
- (gnosis-cloze-replace-words sentence clozes gnosis-cloze-char)))))
+ (fill-paragraph
+ (insert
+ (gnosis-cloze-replace-words sentence clozes (propertize gnosis-cloze-char 'face 'gnosis-face-cloze))))))
(defun gnosis-display--basic-answer (answer success user-input)
"Display ANSWER.