Function: next-error-no-select

next-error-no-select is an interactive and byte-compiled function defined in simple.el.gz.

Signature

(next-error-no-select &optional N)

Documentation

Move point to the next error in the next-error buffer and highlight match.

Prefix arg N says how many error messages to move forwards (or backwards, if negative). Finds and highlights the source line like C-x ` (next-error), but does not select the source buffer.

Probably introduced at or before Emacs version 28.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defun next-error-no-select (&optional n)
  "Move point to the next error in the `next-error' buffer and highlight match.
Prefix arg N says how many error messages to move forwards (or
backwards, if negative).
Finds and highlights the source line like \\[next-error], but does not
select the source buffer."
  (interactive "p")
  (save-selected-window
    (let ((next-error-highlight next-error-highlight-no-select)
          (display-buffer-overriding-action
           '(nil (inhibit-same-window . t))))
      (next-error n))))