From 721981e398d48f31c7d067f8add9bee24748e511 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Thu, 28 Dec 2023 13:26:59 +0200 Subject: gnosis-display: Use gnosis-face-cloze to display clozes --- gnosis.el | 5 +++-- 1 file 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. -- cgit v1.2.3