Variable: compilation-buffer-name-function
compilation-buffer-name-function is a variable defined in
compile.el.gz.
Value
compilation--default-buffer-name
Documentation
Function to compute the name of a compilation buffer.
The function receives one argument, the name of the major mode of the
compilation buffer. It should return a string.
By default, it returns (concat "*" (downcase name-of-mode) "*").
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/compile.el.gz
;;;###autoload
(defvar compilation-buffer-name-function #'compilation--default-buffer-name
"Function to compute the name of a compilation buffer.
The function receives one argument, the name of the major mode of the
compilation buffer. It should return a string.
By default, it returns `(concat \"*\" (downcase name-of-mode) \"*\")'.")