aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2014-12-22 11:41:29 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2014-12-22 11:41:29 -0200
commit5493c6f7d1105810e5133e26c838e6d2cfe50055 (patch)
tree28e310c9462fa94507febf08e4d77907cf1d1b0b
parentd51791fb6ae69e3b426f7d598920b4349858908f (diff)
sx-display-question should only take questions
-rw-r--r--sx-interaction.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/sx-interaction.el b/sx-interaction.el
index 342ae1c..965a996 100644
--- a/sx-interaction.el
+++ b/sx-interaction.el
@@ -157,7 +157,7 @@ relevant window.
If WINDOW nil, the window is decided by
`sx-question-mode-display-buffer-function'."
- (interactive (list (sx--data-here) t))
+ (interactive (list (sx--data-here 'question) t))
(when (sx-question--mark-read data)
(sx--maybe-update-display))
;; Display the question.