瀏覽代碼

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.
Nicolas Goaziou 14 年之前
父節點
當前提交
073ab7de83
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      lisp/org-list.el

+ 2 - 1
lisp/org-list.el

@@ -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