parent
208e103ecc
commit
56bc71a374
1 changed files with 1 additions and 1 deletions
|
|
@ -282,7 +282,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