aboutsummaryrefslogtreecommitdiff
path: root/sx-question.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-02-26 23:02:20 -0300
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-02-26 23:02:20 -0300
commitbe15643b64b64e5fcbcdc213c90a5fa9cd41e9df (patch)
treec0ad93572654e164ffe3b0ca90c6a80e1ac4c96e /sx-question.el
parenta746338150587a400a0fc09a7607341ac10a5159 (diff)
parentcd72f5f03dcc3490318920ef95fc09b07ae900da (diff)
Merge branch 'master' into handle-html-tags
Diffstat (limited to 'sx-question.el')
-rw-r--r--sx-question.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/sx-question.el b/sx-question.el
index a579639..1162eb9 100644
--- a/sx-question.el
+++ b/sx-question.el
@@ -148,7 +148,8 @@ See `sx-question--user-read-list'."
;; Question wasn't present.
(t
(sx-sorted-insert-skip-first
- q-cell site-cell (lambda (x y) (> (car x) (car y))))))))
+ q-cell site-cell
+ (lambda (x y) (> (or (car x) -1) (or (car y) -1))))))))
;; Save the results.
;; @TODO This causes a small lag on `j' and `k' as the list gets
;; large. Should we do this on a timer?