diff options
author | Xinglu Chen <public@yoctocell.xyz> | 2021-02-05 14:41:02 +0100 |
---|---|---|
committer | Xinglu Chen <public@yoctocell.xyz> | 2021-02-05 14:41:02 +0100 |
commit | adbf7b3dd87b7dc2de49a8ad3eab74eba5162aff (patch) | |
tree | 99e49265d2a7e4c1e52c22ead159c68be8b2760d /doc/git-email.info | |
parent | 121d2e860397e428ffb296571ca5c2198b0f46ff (diff) |
Add general function to get project root
This will try to get the root of the project using `projectile`,
`project.el`, and `vc`, in that order. If all of the above fail, fall
back to `default-directory`.
* git-email.el (git-email-get-current-project-functions): Add variable.
(git-email--get-current-project): Add function.
(git-email--minibuffer-get-revision): Utilize the aforementioned functionality.
Diffstat (limited to 'doc/git-email.info')
0 files changed, 0 insertions, 0 deletions