Function: majutsu-selection-clear

majutsu-selection-clear is an interactive and natively compiled function defined in majutsu-selection.el.

Signature

(majutsu-selection-clear &optional ID)

Documentation

Clear selections.

If ID is non-nil, clear only that selection category.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-selection.el
(defun majutsu-selection-clear (&optional id)
  "Clear selections.
If ID is non-nil, clear only that selection category."
  (interactive)
  (when (boundp 'transient--suffixes)
    (dolist (obj transient--suffixes)
      (when (and (cl-typep obj 'majutsu-selection-option)
                 (or (null id)
                     (equal (majutsu-selection--selection-id obj) id)))
        (oset obj value nil)))
    (majutsu-selection-render)))