aboutsummaryrefslogtreecommitdiff
path: root/sx-question.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-02-12 15:05:26 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-02-12 15:05:26 -0200
commitd9a6666b13fb15361580354d8d865b2555d843bb (patch)
treea05080c970b9cf327285f6e3bc3cb79c4f6cf5b2 /sx-question.el
parentfe7e31a55cdd9c25f3d0c1fba088d5499a887af9 (diff)
parent2c7e276ebcd06616362b9710ca45c2e48641adcf (diff)
Merge branch 'master' into bind-question-sorting-to-a-key
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?