diff options
author | Sean Allred <code@seanallred.com> | 2015-01-16 00:43:21 -0500 |
---|---|---|
committer | Sean Allred <code@seanallred.com> | 2015-01-16 00:43:21 -0500 |
commit | 7470438d4455e38e4f7b749579470d4af2b66751 (patch) | |
tree | 8ebfd2a36b987b7fff2a4a19e5ac91cbf3fc7e4b | |
parent | b9eab6419e514fc6e1ce3096892bccd8a8ffb121 (diff) |
Change older-p to newer-p
Older functions generally have more votes anyway -- new answers need
initial the attention.
-rw-r--r-- | sx-question-print.el | 2 | ||||
-rw-r--r-- | sx-question.el | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sx-question-print.el b/sx-question-print.el index c19b0c3..031e06b 100644 --- a/sx-question-print.el +++ b/sx-question-print.el @@ -171,7 +171,7 @@ replaced with the comment." "Function used to sort answers in the question buffer." :type '(choice (const :tag "Higher-scoring first" sx-answer-higher-score-p) - (const :tag "Older first" sx-answer-older-p) + (const :tag "Newer first" sx-answer-newer-p) (const :tag "More active first" sx-answer-more-active-p)) :group 'sx-question-mode) diff --git a/sx-question.el b/sx-question.el index e199966..e39634b 100644 --- a/sx-question.el +++ b/sx-question.el @@ -194,9 +194,9 @@ If no cache exists for it, initialize one with SITE." "Return t if answer A has a higher score than answer B." #'> (lambda (x) (cdr (assq 'score x)))) -(sx--create-comparator sx-answer-older-p +(sx--create-comparator sx-answer-newer-p "Return t if answer A was posted later than answer B." - #'< (lambda (x) (cdr (assq 'creation_date x)))) + #'> (lambda (x) (cdr (assq 'creation_date x)))) (sx--create-comparator sx-answer-more-active-p "Return t if answer A was updated after answer B." |