aboutsummaryrefslogtreecommitdiff
path: root/sx-question-mode.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2014-12-13 00:53:12 +0000
committerArtur Malabarba <bruce.connor.am@gmail.com>2014-12-13 00:53:12 +0000
commit678510081ece49dc8c12140e8bf4f5b543ea2cfc (patch)
tree156a64c887effbdd96d83049bcec14609885898f /sx-question-mode.el
parent0b766bb6f949ac583c7cbff90fc172c36795b231 (diff)
parent302b5a0cf2222973b901c7856da3920705ebe24e (diff)
Merge branch 'master' into use-let-alist
Conflicts: Cask
Diffstat (limited to 'sx-question-mode.el')
-rw-r--r--sx-question-mode.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/sx-question-mode.el b/sx-question-mode.el
index 19d7d16..5735f47 100644
--- a/sx-question-mode.el
+++ b/sx-question-mode.el
@@ -62,7 +62,9 @@ Returns the question buffer."
(sx-question-mode--erase-and-print-question data)))
(defun sx-question-mode--erase-and-print-question (data)
- "Erase contents of buffer and print question given by DATA."
+ "Erase contents of buffer and print question given by DATA.
+Also marks the question as read with `sx-question--mark-read'."
+ (sx-question--mark-read data)
(let ((inhibit-read-only t))
(erase-buffer)
(sx-question-mode)