compilation-buffer-p

compilation-buffer-p is a compiled Lisp function in `compile.el'.

(compilation-buffer-p BUFFER)

Test if BUFFER is a compilation buffer.