Function: evil-state-auxiliary-keymaps

evil-state-auxiliary-keymaps is a byte-compiled function defined in evil-core.el.

Signature

(evil-state-auxiliary-keymaps STATE)

Documentation

Return a keymap alist of auxiliary keymaps for STATE.

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-core.el
(defun evil-state-auxiliary-keymaps (state)
  "Return a keymap alist of auxiliary keymaps for STATE."
  (let ((state (or state evil-state))
        aux result)
    (dolist (map (current-active-maps) (nreverse result))
      (when (setq aux (evil-get-auxiliary-keymap map state))
        (push (cons (evil-mode-for-keymap map t) aux) result)))))