From 35ed7285e9271da388ed23416a27d40fd90807e3 Mon Sep 17 00:00:00 2001 From: Sean Allred Date: Sun, 16 Nov 2014 22:28:19 -0500 Subject: Set question data when printing the question --- sx-question-mode.el | 1 + 1 file changed, 1 insertion(+) (limited to 'sx-question-mode.el') 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) -- cgit v1.2.3