diff options
author | Sean Allred <code@seanallred.com> | 2014-11-11 12:12:30 -0500 |
---|---|---|
committer | Sean Allred <code@seanallred.com> | 2014-11-11 12:12:30 -0500 |
commit | f6699988fd521703c1d44489e3d89c6f71d418df (patch) | |
tree | fb47c358eb81ac72a98b176779155d25d080a2e9 /sx-question.el | |
parent | 6167df68eba9e8f69f285d47454afdce3ac94168 (diff) |
Move question sorting function to sx.el
It is not specific to questions -- it is generally applicable to any
alist.
Diffstat (limited to 'sx-question.el')
-rw-r--r-- | sx-question.el | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sx-question.el b/sx-question.el index 20a71cc..601875f 100644 --- a/sx-question.el +++ b/sx-question.el @@ -56,12 +56,6 @@ "Mark QUESTION as being read, until it is updated again." nil) -(defun sx-question--< (property x y &optional pred) - "Non-nil if PROPERTY attribute of question X is less than that of Y. -With optional argument predicate, use it instead of `<'." - (funcall (or pred #'<) - (cdr (assoc property x)) - (cdr (assoc property y)))) ;;; Displaying a question (defvar sx-question--window nil |