diff options
author | Xinglu Chen <public@yoctocell.xyz> | 2021-02-02 20:32:09 +0100 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2021-02-02 18:40:43 -0500 |
commit | c468c6b6023436116f1d2377350a05cbbc4cc650 (patch) | |
tree | 30445e3f9168bf93606c4691dee1d2b7c0ba0b7b | |
parent | 656625e1f9628673c285e3357329aaa6f6e48843 (diff) | |
download | piem-c468c6b6023436116f1d2377350a05cbbc4cc650.tar.gz |
piem-inbox-coderepo-maybe-read: Support project.el
Add support for reading directory using project.el.
project.el is a built-in library that offers similar functionality to
projectile. It is also available on GNU ELPA.
[km: repositioned fboundp call]
Message-Id: <8ce1733ac0d0f63622d9060015949f31ce83d6ee.1612294275.git.public@yoctocell.xyz>
-rw-r--r-- | piem.el | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -372,6 +372,11 @@ If INBOX is nil, use the inbox returned by `piem-inbox'." (when-let ((current (and (fboundp 'projectile-project-root) (projectile-project-root)))) (abbreviate-file-name current))))) + (and (bound-and-true-p project-list-file) + (file-exists-p project-list-file) + (fboundp 'project-prompt-project-dir) + (expand-file-name + (project-prompt-project-dir))) (and piem-use-magit (fboundp 'magit-read-repository) (magit-read-repository)) |