Function: evil-normal-post-command
evil-normal-post-command is a byte-compiled function defined in
evil-states.el.
Signature
(evil-normal-post-command &optional COMMAND)
Documentation
Reset command loop variables in Normal state.
Also prevent point from reaching the end of the line. If the region is activated, enter Visual state.
Source Code
;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-states.el
(defun evil-normal-post-command (&optional command)
"Reset command loop variables in Normal state.
Also prevent point from reaching the end of the line.
If the region is activated, enter Visual state."
(unless (null this-command)
(setq command (or command this-command))
(when (evil-normal-state-p)
(setq evil-this-type nil
evil-this-operator nil
evil-this-motion nil
evil-this-motion-count nil
evil-inhibit-operator nil
evil-inhibit-operator-value nil)
(unless (memq command '(evil-use-register
digit-argument
negative-argument
universal-argument
universal-argument-minus
universal-argument-more
universal-argument-other-key))
(setq evil-this-register nil))
(evil-adjust-cursor))))