summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2020-08-16 14:51:28 -0400
committerKyle Meyer <kyle@kyleam.com>2020-08-16 21:39:40 -0400
commit9cfa6e709c0c364e12ff58216eebc825274813a1 (patch)
tree6ef8e35c1f8434e0ca63928906a032652b3a0fb9
parent56314bc68e52464bf85784d759886798e1e446f0 (diff)
downloadpiem-9cfa6e709c0c364e12ff58216eebc825274813a1.tar.gz
piem-inbox-coderepo-maybe-read: Require projectile project match
While it's possible that the caller wants to specify a path for a repo that isn't yet registered as a project, it should be quite rare, and disabling it decreases the chances of invalid input. Message-Id: <20200816185130.32703-2-kyle@kyleam.com>
-rw-r--r--piem.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/piem.el b/piem.el
index 55915f6..de298a1 100644
--- a/piem.el
+++ b/piem.el
@@ -297,7 +297,8 @@ intended to be used by libraries implementing a function for
(and (fboundp 'projectile-relevant-known-projects)
(completing-read
"Project: "
- (projectile-relevant-known-projects)))
+ (projectile-relevant-known-projects)
+ nil t))
(and piem-use-magit
(fboundp 'magit-read-repository)
(magit-read-repository))