aboutsummaryrefslogtreecommitdiff
path: root/sx-question.el
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2015-02-13 21:05:19 -0600
committerSean Allred <code@seanallred.com>2015-02-13 21:05:19 -0600
commit2e9fb5633907afdd6218e36a6be5412e87dcee2c (patch)
tree639e335eecefd6a3ce52a7288f96e8ce4ffb7b48 /sx-question.el
parent89132aa7b82abd1b54356831dda9d4dd28cf7492 (diff)
parent1f73185f411de81a5e26152377c499498d732d8c (diff)
Merge pull request #233 from vermiculus/tag-buttons
Tag buttons
Diffstat (limited to 'sx-question.el')
-rw-r--r--sx-question.el6
1 files changed, 0 insertions, 6 deletions
diff --git a/sx-question.el b/sx-question.el
index 1fde1aa..1162eb9 100644
--- a/sx-question.el
+++ b/sx-question.el
@@ -197,20 +197,14 @@ If no cache exists for it, initialize one with SITE."
;;;; Other data
-
(defun sx-question--accepted-answer-id (question)
"Return accepted answer in QUESTION or nil if none exists."
(sx-assoc-let question
(and (integerp .accepted_answer_id)
.accepted_answer_id)))
-(defun sx-question--tag-format (tag)
- "Formats TAG for display."
- (concat "[" tag "]"))
-
;;; Question Mode Answer-Sorting Functions
-
(sx--create-comparator sx-answer-higher-score-p
"Return t if answer A has a higher score than answer B."
#'> (lambda (x) (cdr (assq 'score x))))