Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport locate-dominating-file functionality to Emacs22; look for .g…
…it by default.
- Loading branch information
1 parent
312d1e6
commit 5e7ade8
Showing
1 changed file
with
18 additions
and
10 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
5e7ade8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change seems to override the ability to use .dir-locals.el as the project file. Do I have to setq ffip-project-file to get that behavior back?
5e7ade8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only bring it up because the comments at the top make it sound like there's a whole flowchart that is checked, when in reality it's just looking for .git.
Now I see that just dir-locals.el is not working. dir-settings.el and the various version control options work if I have project.el loaded, which requires a manual git submodule update and package install.
5e7ade8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think dir-locals.el was only honored in prerelease versions of Emacs 23. With this change you can set the ffip-project-file var to whatever value you like (including "dir-settings.el") from within dir-settings.el.