Merge: 0.5.1
This commit is contained in:
commit
3c7a93d71f
3 changed files with 94 additions and 73 deletions
|
|
@ -281,7 +281,7 @@ returns nil or non-nil."
|
|||
;; Default sorting functions
|
||||
(org-ql--sort-by items (-list sort)))
|
||||
;; Sort by user-given comparator.
|
||||
((pred functionp) (sort items sort))
|
||||
((pred functionp) (-sort sort items))
|
||||
(_ (user-error "SORT must be either nil, one or a list of the defined sorting methods (see documentation), or a comparison function of two arguments")))))
|
||||
|
||||
;;;###autoload
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue