Function: projectile-compilation-buffer-name

projectile-compilation-buffer-name is a byte-compiled function defined in projectile.el.

Signature

(projectile-compilation-buffer-name COMPILATION-MODE)

Documentation

Meant to be used for `compilation-buffer-name-function`.

Argument COMPILATION-MODE is the name of the major mode used for the compilation buffer.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defun projectile-compilation-buffer-name (compilation-mode)
  "Meant to be used for `compilation-buffer-name-function`.
Argument COMPILATION-MODE is the name of the major mode used for the
compilation buffer."
  (concat "*" (downcase compilation-mode) "*"
          (if (projectile-project-p) (concat "<" (projectile-project-name) ">") "")))