aboutsummaryrefslogtreecommitdiff
path: root/sx-question.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-02-12 21:09:46 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-02-12 21:09:46 -0200
commit3855607ae779165e33f5f1834bedad42d1583971 (patch)
treec3c8ed332f216daccbef721c4e7cd2fa724bd5fb /sx-question.el
parent75c4a7d4e02e81c42a4914e2b798f60415a3b505 (diff)
parent07dbdbad69dd502abc209bd38aabdf5204bc65f7 (diff)
Merge branch 'tag-buttons' into images
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?