Function: rng-previous-error

rng-previous-error is an interactive and byte-compiled function defined in rng-valid.el.gz.

Signature

(rng-previous-error ARG)

Documentation

Go to the previous validation error before point.

Turn on rng-validate-mode(var)/rng-validate-mode(fun) if it is not already on. A prefix ARG specifies how many errors to move. A negative ARG moves forwards. Just C-u (universal-argument) as a prefix means goto the first error.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/nxml/rng-valid.el.gz
(defun rng-previous-error (arg)
  "Go to the previous validation error before point.
Turn on `rng-validate-mode' if it is not already on.
A prefix ARG specifies how many errors to move.
A negative ARG moves forwards.  Just \\[universal-argument] as a prefix
means goto the first error."
  (interactive "P")
  (if (consp arg)
      (rng-first-error)
    (or rng-validate-mode (rng-validate-mode))
    (setq arg (prefix-numeric-value arg))
    (if (< arg 0)
	(rng-next-error-1 (- arg))
      (rng-previous-error-1 arg))))