Function: org-columns--summary-checkbox

org-columns--summary-checkbox is a byte-compiled function defined in org-colview.el.gz.

Signature

(org-columns--summary-checkbox CHECK-BOXES _)

Documentation

Summarize CHECK-BOXES with a check-box.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-colview.el.gz
(defun org-columns--summary-checkbox (check-boxes _)
  "Summarize CHECK-BOXES with a check-box."
  (let ((done (cl-count "[X]" check-boxes :test #'equal))
	(all (length check-boxes)))
    (cond ((= done all) "[X]")
	  ((> done 0) "[-]")
	  (t "[ ]"))))