Function: rng-next-error

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

Signature

(rng-next-error ARG)

Documentation

Go to the next validation error after 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 backwards. 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-next-error (arg)
  "Go to the next validation error after 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 backwards.  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-previous-error-1 (- arg))
      (rng-next-error-1 arg))))