Function: org-list-checkbox-radio-mode

org-list-checkbox-radio-mode is an autoloaded, interactive and byte-compiled function defined in org-list.el.gz.

Signature

(org-list-checkbox-radio-mode &optional ARG)

Documentation

When turned on, use list checkboxes as radio buttons.

This is a minor mode. If called interactively, toggle the Org-List-Checkbox-Radio mode mode. If the prefix argument is positive, enable the mode, and if it is zero or negative, disable the mode.

If called from Lisp, toggle the mode if ARG is toggle. Enable the mode if ARG is nil, omitted, or is a positive number. Disable the mode if ARG is a negative number.

To check whether the minor mode is enabled in the current buffer, evaluate org-list-checkbox-radio-mode(var)/org-list-checkbox-radio-mode(fun).

The mode's hook is called both when the mode is enabled and when it is disabled.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-list.el.gz
;;;###autoload
(define-minor-mode org-list-checkbox-radio-mode
  "When turned on, use list checkboxes as radio buttons."
  :lighter " CheckBoxRadio"
  (unless (eq major-mode 'org-mode)
    (user-error "Cannot turn this mode outside org-mode buffers")))