next-error-last-buffer
next-error-last-buffer is a variable defined in `simple.el
'.
Its value is nilDocumentation: The most recent `next-error' buffer. A buffer becomes most recent when its compilation, grep, or similar mode is started, or when it is used with C-x ` or M-x compile-goto-error.