Function: projectile-session--set-tab-name

projectile-session--set-tab-name is a byte-compiled function defined in projectile.el.

Signature

(projectile-session--set-tab-name TAB NAME)

Documentation

Give TAB the explicit NAME.

explicit-name is set so tab-bar doesn't overwrite NAME with its own automatic naming. NAME is also recorded in the projectile-auto-name tab parameter so projectile-session--refresh-tab-names can tell a name Projectile assigned from one the user set with tab-bar-rename-tab.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-session--set-tab-name (tab name)
  "Give TAB the explicit NAME.
`explicit-name' is set so `tab-bar' doesn't overwrite NAME with its own
automatic naming.  NAME is also recorded in the `projectile-auto-name'
tab parameter so `projectile-session--refresh-tab-names' can tell a name
Projectile assigned from one the user set with `tab-bar-rename-tab'."
  (setf (alist-get 'name (cdr tab)) name)
  (setf (alist-get 'explicit-name (cdr tab)) t)
  (setf (alist-get 'projectile-auto-name (cdr tab)) name))