Function: compilation-previous-error

compilation-previous-error is an interactive and byte-compiled function defined in compile.el.gz.

Signature

(compilation-previous-error N)

Documentation

Move point to the previous error in the compilation buffer.

Prefix arg N says how many error messages to move backwards (or forwards, if negative). Does NOT find the source line like M-g p (previous-error).

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/compile.el.gz
(defun compilation-previous-error (n)
  "Move point to the previous error in the compilation buffer.
Prefix arg N says how many error messages to move backwards (or
forwards, if negative).
Does NOT find the source line like \\[previous-error]."
  (interactive "p")
  (compilation-next-error (- n)))