Variable: projectile-project-name-function

projectile-project-name-function is a customizable variable defined in projectile.el.

Value

projectile-default-project-name

Documentation

A function that receives the project-root and returns the project name.

If variable projectile-project-name(var)/projectile-project-name(fun) is non-nil, this function will not be used.

This variable was added, or its default value changed, in projectile version 0.14.0.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defcustom projectile-project-name-function 'projectile-default-project-name
  "A function that receives the project-root and returns the project name.

If variable `projectile-project-name' is non-nil, this function will not be
used."
  :group 'projectile
  :type 'function
  :package-version '(projectile . "0.14.0"))