From cc115d87717c0d87e0e65a9ff989318b525dcceb Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 16 Aug 2020 14:51:30 -0400 Subject: 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> --- piem.el | 14 +++++++------- 1 file 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)) -- cgit v1.2.3