Variable: project-compilation-buffer-name-function

project-compilation-buffer-name-function is a customizable variable defined in project.el.gz.

Value

nil

Documentation

Function to compute the name of a project compilation buffer.

If non-nil, it overrides compilation-buffer-name-function for project-compile.

This variable was added, or its default value changed, in Emacs 28.1.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/project.el.gz
(defcustom project-compilation-buffer-name-function nil
  "Function to compute the name of a project compilation buffer.
If non-nil, it overrides `compilation-buffer-name-function' for
`project-compile'."
  :version "28.1"
  :group 'project
  :type '(choice (const :tag "Default" nil)
                 (const :tag "Prefixed with root directory name"
                        project-prefixed-buffer-name)
                 (function :tag "Custom function")))