diff options
author | Thanos Apollo <[email protected]> | 2023-12-28 13:26:59 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-12-28 13:26:59 +0200 |
commit | 721981e398d48f31c7d067f8add9bee24748e511 (patch) | |
tree | 3616516de868713f01e6c41402a83eff91745aeb /gnosis.el | |
parent | 3b193cae8903be1a760a7c04e50189dcfcf786cf (diff) |
gnosis-display: Use gnosis-face-cloze to display clozes
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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. |