Function: majutsu-selection--toggle-key-p

majutsu-selection--toggle-key-p is a natively compiled function defined in majutsu-selection.el.

Signature

(majutsu-selection--toggle-key-p OBJ)

Documentation

Return non-nil when OBJ's toggle key invoked the current command.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-selection.el
(defun majutsu-selection--toggle-key-p (obj)
  "Return non-nil when OBJ's toggle key invoked the current command."
  (and (majutsu-selection--toggle-active-p obj)
       (seq-some #'majutsu-transient-key-invoked-p
                 (ensure-list (oref obj selection-toggle-key)))))