Function: next-error-found
next-error-found is a byte-compiled function defined in simple.el.gz.
Signature
(next-error-found &optional FROM-BUFFER TO-BUFFER)
Documentation
Function to call when the next locus is found and displayed.
FROM-BUFFER is a buffer from which next-error navigated,
and TO-BUFFER is a target buffer.
Source Code
;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defun next-error-found (&optional from-buffer to-buffer)
"Function to call when the next locus is found and displayed.
FROM-BUFFER is a buffer from which `next-error' navigated,
and TO-BUFFER is a target buffer."
(setq next-error-last-buffer (or from-buffer (current-buffer)))
(when to-buffer
(with-current-buffer to-buffer
(setq next-error-buffer from-buffer)))
(when next-error-recenter
(recenter next-error-recenter))
(funcall next-error-found-function from-buffer to-buffer)
(next-error-message-highlight from-buffer)
(run-hooks 'next-error-hook))