aboutsummaryrefslogtreecommitdiff
path: root/sx.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2014-11-25 02:45:48 +0000
committerArtur Malabarba <bruce.connor.am@gmail.com>2014-11-25 02:45:48 +0000
commit73b380e1407bfc688204812bbf58f9872e57f8c5 (patch)
treef5b1b0a1a73f2fdff9ff502edb091e5e5cfc1b53 /sx.el
parentb5bcd91bffb67ee1a902a15f2857784626435852 (diff)
sx can also updates question-mode buffer.
Diffstat (limited to 'sx.el')
-rw-r--r--sx.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/sx.el b/sx.el
index 09b5181..5fbfbb8 100644
--- a/sx.el
+++ b/sx.el
@@ -199,6 +199,8 @@ Return the result of BODY."
"Refresh the question list if we're inside it."
(cond
((derived-mode-p 'sx-question-list-mode)
+ (sx-question-list-refresh 'redisplay 'no-update))
+ ((derived-mode-p 'sx-question-mode)
(sx-question-list-refresh 'redisplay 'no-update))))
(defun sx--copy-data (from to)