aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-02-21 16:23:37 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-02-21 16:26:11 -0200
commit83538b215f75256b86987b999504a2d87d0db307 (patch)
treed72e4ebb157e0230b52bebb5564f930768829f4b
parentd73ba0621e1e73df155a09126ecef8df8c2d232a (diff)
Make question-mode--data buffer local
-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 d4b7f8d..6d62e80 100644
--- a/sx-question-mode.el
+++ b/sx-question-mode.el
@@ -48,6 +48,7 @@ Common values for this variable are `pop-to-buffer' and `switch-to-buffer'."
(defvar sx-question-mode--data nil
"The data of the question being displayed.")
+(make-variable-buffer-local 'sx-question-mode--data)
(defun sx-question-mode--get-window ()
"Return a window displaying a question, or nil."