branch: elpa/gnosis commit 6be8a34dc53ee2fbd38df93329c936bb9e598802 Author: Thanos Apollo <pub...@thanosapollo.org> Commit: Thanos Apollo <pub...@thanosapollo.org>
display-correct-answer-mcq: Ensure proper buffer is used at point-max. --- gnosis.el | 1 + 1 file changed, 1 insertion(+) diff --git a/gnosis.el b/gnosis.el index 4558e5f9b6..f42deca5de 100644 --- a/gnosis.el +++ b/gnosis.el @@ -530,6 +530,7 @@ If FALSE t, use gnosis-face-false face" (defun gnosis-display-correct-answer-mcq (answer user-choice) "Display correct ANSWER & USER-CHOICE for MCQ note." + (goto-char (point-max)) (insert (gnosis-center-string (format "%s %s\n%s %s" (propertize "Correct Answer:" 'face 'gnosis-face-directions)