Function: forms-prev-field
forms-prev-field is an interactive and byte-compiled function defined
in forms.el.gz.
Signature
(forms-prev-field ARG)
Documentation
Jump to ARG-th previous field.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/forms.el.gz
(defun forms-prev-field (arg)
"Jump to ARG-th previous field."
(interactive "p")
(let ((i (length forms--markers))
(here (point))
there
(cnt 0)
(inhibit-point-motion-hooks t))
(if (zerop arg)
(setq cnt 1)
(setq cnt (+ cnt arg)))
(if (catch 'done
(while (> i 0)
(setq i ( 1- i))
(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))))))
nil
(goto-char (aref forms--markers (1- (length forms--markers)))))))