org-list: check with-case argument when sorting a list alphabetically

* lisp/org-list.el (org-sort-list): no longer ignore with-case
  argument: the function sorted case-sensitively, regardless of
  argument.
This commit is contained in:
Nicolas Goaziou 2011-05-07 02:17:19 +02:00
parent e80305e77e
commit 073ab7de83
1 changed files with 2 additions and 1 deletions

View File

@ -2586,7 +2586,8 @@ compare entries."
(string-to-number (buffer-substring (match-end 0)
(point-at-eol))))
((= dcst ?a)
(buffer-substring (match-end 0) (point-at-eol)))
(funcall case-func
(buffer-substring (match-end 0) (point-at-eol))))
((= dcst ?t)
(cond
;; If it is a timer list, convert timer to seconds