Function: evil-execute-in-emacs-state
evil-execute-in-emacs-state is an interactive and byte-compiled
function defined in evil-commands.el.
Signature
(evil-execute-in-emacs-state)
Documentation
Execute the next command in Emacs state.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-commands.el
(evil-define-command evil-execute-in-emacs-state ()
"Execute the next command in Emacs state."
(add-hook 'post-command-hook #'evil-stop-execute-in-emacs-state t)
(setq evil-execute-in-emacs-state-buffer (current-buffer))
(cond
((evil-visual-state-p)
(let ((mrk (mark))
(pnt (point)))
(evil-emacs-state)
(set-mark mrk)
(goto-char pnt)))
(t
(evil-emacs-state)))
(evil-echo "Switched to Emacs state for the next command ..."))