Skip to content

Add projectile-uniquify-dirname-transform#2011

Merged
bbatsov merged 1 commit into
masterfrom
feature/project-name-uniquify
Jun 12, 2026
Merged

Add projectile-uniquify-dirname-transform#2011
bbatsov merged 1 commit into
masterfrom
feature/project-name-uniquify

Conversation

@bbatsov

@bbatsov bbatsov commented Jun 12, 2026

Copy link
Copy Markdown
Owner

Mirrors project.el's project-uniquify-dirname-transform: set uniquify-dirname-transform to it and same-named files from different projects get project-qualified buffer names. Safe to set globally - outside a project the directory is returned unchanged.

A project-aware value for `uniquify-dirname-transform': when a directory
is inside a project, the project name is spliced into the path so buffers
visiting same-named files in different projects get distinct names.
Outside a project the directory is returned unchanged, so it's safe to
set globally. Mirrors project.el's project-uniquify-dirname-transform.
@bbatsov bbatsov merged commit 42369db into master Jun 12, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant