aboutsummaryrefslogtreecommitdiff
path: root/sx-question-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'sx-question-mode.el')
-rw-r--r--sx-question-mode.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/sx-question-mode.el b/sx-question-mode.el
index 32cd112..fdb6487 100644
--- a/sx-question-mode.el
+++ b/sx-question-mode.el
@@ -192,6 +192,7 @@ Second \"%s\" is replaced with the comment."
(defun sx-question-mode--print-question (question)
"Print a buffer describing QUESTION.
QUESTION must be a data structure returned by `json-read'."
+ (setq sx-question-mode--data question)
;; Clear the overlays
(mapc #'delete-overlay sx-question-mode--overlays)
(setq sx-question-mode--overlays nil)