Fix urgency sort order
This commit is contained in:
parent
75a7e3f147
commit
9ada92a225
1 changed files with 3 additions and 1 deletions
|
@ -343,7 +343,9 @@
|
||||||
(defun taskwarrior--urgency-predicate (A B)
|
(defun taskwarrior--urgency-predicate (A B)
|
||||||
(let ((a (aref (cadr A) 1))
|
(let ((a (aref (cadr A) 1))
|
||||||
(b (aref (cadr B) 1)))
|
(b (aref (cadr B) 1)))
|
||||||
(string> a b)))
|
(>
|
||||||
|
(string-to-number a)
|
||||||
|
(string-to-number b))))
|
||||||
|
|
||||||
;; Setup a major mode for taskwarrior
|
;; Setup a major mode for taskwarrior
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
|
Loading…
Reference in a new issue