Variable: projectile-session-tab-name-function

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

Value

projectile-session-default-tab-name

Documentation

Function computing the tab name for a project.

It is called with the project root and must return a string. The default, projectile-session-default-tab-name, names the tab after the project and disambiguates same-named projects with a parent-directory component.

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

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defcustom projectile-session-tab-name-function 'projectile-session-default-tab-name
  "Function computing the tab name for a project.
It is called with the project root and must return a string.  The
default, `projectile-session-default-tab-name', names the tab after the
project and disambiguates same-named projects with a parent-directory
component."
  :group 'projectile
  :type 'function
  :package-version '(projectile . "3.2.0"))