compilation-last-buffer

compilation-last-buffer is a variable defined in `compile.el'.
Its value is
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 `
or M-x compile-goto-error.