Variable: compilation-last-buffer
compilation-last-buffer is an alias for next-error-last-buffer,
defined in compile.el.gz.
Value
nil
Documentation
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 ` (next-error)
or M-x compile-goto-error (compile-goto-error).