Function: forms-next-field
forms-next-field is an interactive and byte-compiled function defined
in forms.el.gz.
Signature
(forms-next-field ARG)
Documentation
Jump to ARG-th next field.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/forms.el.gz
(defun forms-next-field (arg)
"Jump to ARG-th next field."
(interactive "p")
(let ((i 0)
(here (point))
there
(cnt 0))
(if (zerop arg)
(setq cnt 1)
(setq cnt (+ cnt arg)))
(if (catch 'done
(while (< i (length forms--markers))
(if (or (null (setq there (aref forms--markers i)))
(<= there here))
nil
(if (<= (setq cnt (1- cnt)) 0)
(progn
(goto-char there)
(throw 'done t))))
(setq i (1+ i))))
nil
(goto-char (aref forms--markers 0)))))