diff options
author | Thanos Apollo <[email protected]> | 2024-07-17 09:13:10 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-07-17 09:13:10 +0300 |
commit | 5d5fad251051ca2136254fb6c64de6acf720af71 (patch) | |
tree | 753aac50cc412137a579731045a891714dacbd56 /gnosis.el | |
parent | a7c85363850b96176f502eecdc2a9d7b046c355c (diff) |
[fix] mc-cloze: Use gnosis-display-cloze-string.
* Replace deprecated gnosis-display-cloze-sentence with gnosis-display-cloze-string.
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1535,13 +1535,13 @@ If user-input is equal to CLOZE, return t." (cloze (list (gnosis-get 'answer 'notes `(= id ,id)))) (user-choice nil) (success nil)) - (gnosis-display-cloze-sentence main cloze nil 0 success) + (gnosis-display-cloze-string main cloze nil nil nil) (gnosis-display-image id) (setf user-choice (gnosis-mcq-answer id) success (string= user-choice (car cloze))) (if success - (gnosis-display-cloze-sentence main cloze nil 1 nil) - (gnosis-display-cloze-sentence main cloze nil 0 t)) + (gnosis-display-cloze-string main nil nil cloze nil) + (gnosis-display-cloze-string main nil nil nil cloze)) ;; Display user answer only upon failure (unless success (gnosis-display-cloze-user-answer user-choice)) |