Function: org-update-checkbox-count-maybe

org-update-checkbox-count-maybe is a byte-compiled function defined in org-list.el.gz.

Signature

(org-update-checkbox-count-maybe &optional ALL)

Documentation

Update checkbox statistics unless turned off by user.

With an optional argument ALL, update them in the whole buffer. When ALL is symbol narrow, update statistics only in the accessible portion of the buffer.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-list.el.gz
(defun org-update-checkbox-count-maybe (&optional all)
  "Update checkbox statistics unless turned off by user.
With an optional argument ALL, update them in the whole buffer.
When ALL is symbol `narrow', update statistics only in the accessible
portion of the buffer."
  (when (cdr (assq 'checkbox org-list-automatic-rules))
    (org-update-checkbox-count all))
  (run-hooks 'org-checkbox-statistics-hook))