Function: org-cmp-habit-p
org-cmp-habit-p is a byte-compiled function defined in
org-agenda.el.gz.
Signature
(org-cmp-habit-p A B)
Documentation
Compare the todo states of strings A and B.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-agenda.el.gz
(defsubst org-cmp-habit-p (a b)
"Compare the todo states of strings A and B."
(let ((ha (get-text-property 1 'org-habit-p a))
(hb (get-text-property 1 'org-habit-p b)))
(cond ((and ha (not hb)) -1)
((and (not ha) hb) +1))))