aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2020-08-16 14:51:30 -0400
committerKyle Meyer <kyle@kyleam.com>2020-08-16 21:39:40 -0400
commitcc115d87717c0d87e0e65a9ff989318b525dcceb (patch)
treed0857b581759ed6e60a557cf457233190d5e23bc
parent2b658414c62ee00266fa24a7f7c4685b9d2276d8 (diff)
downloadpiem-cc115d87717c0d87e0e65a9ff989318b525dcceb.tar.gz
piem-inbox-coderepo-maybe-read: Expand paths from projectile
The other methods return expanded absolute paths. Do the same here. Message-Id: <20200816185130.32703-4-kyle@kyleam.com>
-rw-r--r--piem.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/piem.el b/piem.el
index f4ba96b..e958ada 100644
--- a/piem.el
+++ b/piem.el
@@ -295,13 +295,13 @@ intended to be used by libraries implementing a function for
(let ((inbox
(or (piem-inbox-coderepo)
(and (bound-and-true-p projectile-known-projects)
- (completing-read
- "Project: "
- projectile-known-projects nil t nil nil
- (when-let ((current (and (fboundp 'projectile-project-root)
- (projectile-project-root))))
- (abbreviate-file-name current))))
-
+ (expand-file-name
+ (completing-read
+ "Project: "
+ projectile-known-projects nil t nil nil
+ (when-let ((current (and (fboundp 'projectile-project-root)
+ (projectile-project-root))))
+ (abbreviate-file-name current)))))
(and piem-use-magit
(fboundp 'magit-read-repository)
(magit-read-repository))