Function: evil-normal-state-p

evil-normal-state-p is a byte-compiled function defined in evil-states.el.

Signature

(evil-normal-state-p &optional STATE)

Documentation

Whether the current state is Normal state.

(That is, whether evil-state is normal.)

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-states.el
;;; Normal state

(evil-define-state normal
  "Normal state.
AKA \"Command\" state."
  :tag " <N> "
  :enable (motion)
  (cond
   ((evil-normal-state-p)
    (overwrite-mode -1)
    (add-hook 'post-command-hook #'evil-normal-post-command nil t))
   (t
    (remove-hook 'post-command-hook #'evil-normal-post-command t))))