aboutsummaryrefslogtreecommitdiff
path: root/sx-question-list.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-02-12 10:01:03 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-02-12 10:01:03 -0200
commitdb477cd54fa51f7604a8cba815848c7ea1b7ba37 (patch)
treefccc8c81d8b94c3678290d90931863e6dc7a6595 /sx-question-list.el
parent78cc17295c255dc188c96ea7a401ee9a915b9269 (diff)
sx-question-list-order-by bound to O
Diffstat (limited to 'sx-question-list.el')
-rw-r--r--sx-question-list.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/sx-question-list.el b/sx-question-list.el
index 7757503..1240c0f 100644
--- a/sx-question-list.el
+++ b/sx-question-list.el
@@ -367,6 +367,9 @@ into consideration. The same holds for `sx-question-list--order'.
([?\r] sx-display)
))
+(sx--define-conditional-key sx-question-list-mode-map "O" #'sx-question-list-order-by
+ (and (boundp 'sx-question-list--order) sx-question-list--order))
+
(defun sx-question-list-hide (data)
"Hide question under point.
Non-interactively, DATA is a question alist."