Function: tempel-next
tempel-next is an interactive and natively compiled function defined
in tempel.el.
Signature
(tempel-next &optional N)
Documentation
Move N fields forward.
Quit at the end if tempel-done-on-next is non-nil.
Key Bindings
tempel-map C-<down> tempel-map M-<down> tempel-map M-}
Source Code
;; Defined in /nix/store/b3ibjbs2i12kyhwapibfx6i39f025i85-emacs-packages-deps/share/emacs/site-lisp/elpa/tempel-20260705.1258/tempel.el
(defun tempel-next (&optional n)
"Move N fields forward.
Quit at the end if `tempel-done-on-next' is non-nil."
(declare (completion tempel--active-p))
(interactive "p")
(setq n (or n 1))
(cl-loop for i below (abs n) do
(if-let* ((next (tempel--find n)))
(goto-char next)
(when tempel-done-on-next
(tempel-done t))
(cl-return)))
;; Run the enter action of the field.
(when-let* ((ov (tempel--find-overlay 'tempel--field))
(fun (overlay-get ov 'tempel--enter)))
(funcall fun ov)))