Function: evil--jump-hook
evil--jump-hook is a byte-compiled function defined in evil-jumps.el.
Signature
(evil--jump-hook &optional COMMAND)
Documentation
pre-command-hook for evil-jumps.
Set jump point if COMMAND has a non-nil :jump property. Otherwise, save the current position in case the command being executed will change the current buffer.
Source Code
;; Defined in ~/.emacs.d/elpa/evil-20260728.1438/evil-jumps.el
(defun evil--jump-hook (&optional command)
"`pre-command-hook' for evil-jumps.
Set jump point if COMMAND has a non-nil `:jump' property. Otherwise,
save the current position in case the command being executed will
change the current buffer."
(setq command (or command this-command))
(if (evil-get-command-property command :jump)
(evil-set-jump)
(setf (evil-jumps-struct-previous-pos (evil--jumps-get-current))
(point-marker))))