Function: org-get-checkbox-statistics-face

org-get-checkbox-statistics-face is a byte-compiled function defined in org-list.el.gz.

Signature

(org-get-checkbox-statistics-face)

Documentation

Select the face for checkbox statistics.

The face will be org-done when all relevant boxes are checked. Otherwise it will be org-todo.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-list.el.gz
(defun org-get-checkbox-statistics-face ()
  "Select the face for checkbox statistics.
The face will be `org-done' when all relevant boxes are checked.
Otherwise it will be `org-todo'."
  (if (match-end 1)
      (if (equal (match-string 1) "100%")
	  'org-checkbox-statistics-done
	'org-checkbox-statistics-todo)
    (if (and (> (match-end 2) (match-beginning 2))
	     (equal (match-string 2) (match-string 3)))
	'org-checkbox-statistics-done
      'org-checkbox-statistics-todo)))