Variable: next-error-found-function
next-error-found-function is a customizable variable defined in
simple.el.gz.
Value
ignore
Documentation
Function called when a next locus is found and displayed.
Function is called with two arguments: a FROM-BUFFER buffer
from which next-error navigated, and a target buffer TO-BUFFER.
This variable was added, or its default value changed, in Emacs 27.1.
Probably introduced at or before Emacs version 28.1.
Source Code
;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defcustom next-error-found-function #'ignore
"Function called when a next locus is found and displayed.
Function is called with two arguments: a FROM-BUFFER buffer
from which `next-error' navigated, and a target buffer TO-BUFFER."
:type '(choice (const :tag "No default" ignore)
(const :tag "Quit previous window with M-0"
next-error-quit-window)
(function :tag "Other function"))
:group 'next-error
:version "27.1")