summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-12-27 10:55:19 +0200
committerThanos Apollo <[email protected]>2023-12-27 10:55:19 +0200
commite2614e8da710608bb6b9739d9edead25f9daeb0a (patch)
tree606c4c2d8e6db4edf12a56aa297183973db8d65d /gnosis.el
parentd2db3be0e3d4ad4b5b2b24802bc468dd5498032d (diff)
Rename gnosis-face-cloze-false/correct to gnosis-face-correct/false
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnosis.el b/gnosis.el
index 7ff38fa..e843abc 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -118,17 +118,17 @@ Example:
(with-gnosis-buffer
(goto-char (point-min))
(search-forward cloze-chars nil t)
- (replace-match (propertize correct 'face 'gnosis-face-cloze-correct))))
+ (replace-match (propertize correct 'face 'gnosis-face-correct))))
(cl-defun gnosis-display--cloze-user-answer (user-input &optional (false nil))
"Display USER-INPUT answer for cloze note.
-If FALSE t, use gnosis-face-cloze-false face"
+If FALSE t, use gnosis-face-false face"
(with-gnosis-buffer
(goto-char (point-max))
(insert (concat "\nYour answer: " (propertize user-input 'face (if false
- 'gnosis-face-cloze-false
- 'gnosis-face-cloze-correct))))))
+ 'gnosis-face-false
+ 'gnosis-face-correct))))))
(defun gnosis-display--correct-answer-mcq (answer user-choice)
"Display correct ANSWER & USER-CHOICE for MCQ note."