Fix urgency sort order

This commit is contained in:
Patrick Winter 2019-09-06 21:53:51 +02:00
parent 75a7e3f147
commit 9ada92a225

View file

@ -343,7 +343,9 @@
(defun taskwarrior--urgency-predicate (A B)
(let ((a (aref (cadr A) 1))
(b (aref (cadr B) 1)))
(string> a b)))
(>
(string-to-number a)
(string-to-number b))))
;; Setup a major mode for taskwarrior
;;;###autoload