aboutsummaryrefslogtreecommitdiff
path: root/sx-question.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-02-12 15:06:19 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-02-12 15:06:19 -0200
commitc8c187dd61bde903ddaa666d92b3a66648d1d42b (patch)
tree78e0fb53d89db30ad4150a85b7ee1837613be488 /sx-question.el
parent680741fbb56b09fc1ffb842bc22cafab92a01501 (diff)
parent2c7e276ebcd06616362b9710ca45c2e48641adcf (diff)
Merge branch 'master' into more-ordering
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 1df4900..1fde1aa 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?