Function: projectile-siblings-from-groups
projectile-siblings-from-groups is a byte-compiled function defined in
projectile.el.
Signature
(projectile-siblings-from-groups ROOT)
Documentation
Return the projects grouped with ROOT by configuration.
That's the groups in projectile-project-groups that ROOT is a member
of, plus whatever projectile-project-siblings names. The latter is a
buffer-local setting describing the project you're in, so it's only
consulted when that's the project being asked about.
Configured groups are never subject to
projectile-sibling-max-group-share: however many projects you put in a
group, you meant to.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-siblings-from-groups (root)
"Return the projects grouped with ROOT by configuration.
That's the groups in `projectile-project-groups' that ROOT is a member
of, plus whatever `projectile-project-siblings' names. The latter is a
buffer-local setting describing the project you're in, so it's only
consulted when that's the project being asked about.
Configured groups are never subject to
`projectile-sibling-max-group-share': however many projects you put in a
group, you meant to."
(let ((key (projectile--directory-key root)))
(append
(when-let* ((current (ignore-errors (projectile-project-root)))
((equal key (projectile--directory-key current))))
projectile-project-siblings)
(seq-mapcat
#'cdr
(seq-filter (lambda (group)
(seq-some (lambda (member)
(equal key (projectile--directory-key member)))
(cdr group)))
projectile-project-groups)))))