Function: evil-intercept-keymap-state

evil-intercept-keymap-state is a byte-compiled function defined in evil-core.el.

Signature

(evil-intercept-keymap-state MAP)

Documentation

Return the state for the intercept keymap MAP.

A return value of t means all states.

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-core.el
(defun evil-intercept-keymap-state (map)
  "Return the state for the intercept keymap MAP.
A return value of t means all states."
  (let ((state (lookup-key map [intercept-state] map)))
    (cond
     ((keymapp state)
      (evil-intercept-keymap-state state))
     ((eq state 'all)
      t)
     (t
      state))))