From 9cfa6e709c0c364e12ff58216eebc825274813a1 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 16 Aug 2020 14:51:28 -0400 Subject: 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> --- piem.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) -- cgit v1.2.3