Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure project-roots are directories
Projectile adds projects as directory names, as in "~/project/". Manually adding a project root that is not a directory name, as in (projectile-add-known-project "~/project"), works fine, but Projectile will then add the project root as a directory name, so that both "~/project" and "~/project/" will be in the list of known projects. This change converts "~/project" to "~/project/" before adding it to the list, thereby avoiding annoying near-duplicates.
- Loading branch information
Showing
3 changed files
with
16 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters