Function: projectile-session--project-tabs

projectile-session--project-tabs is a byte-compiled function defined in projectile.el.

Signature

(projectile-session--project-tabs)

Documentation

Return the open tabs that are bound to a project.

The tab held in projectile-session--closing-tab (one being closed) is omitted, so survivor names recomputed from the pre-close hook don't still treat the closing tab as an open clash.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-session--project-tabs ()
  "Return the open tabs that are bound to a project.
The tab held in `projectile-session--closing-tab' (one being closed) is
omitted, so survivor names recomputed from the pre-close hook don't still
treat the closing tab as an open clash."
  (seq-filter (lambda (tab)
                (and (not (eq tab projectile-session--closing-tab))
                     (projectile-session--tab-root tab)))
              (tab-bar-tabs)))