summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--piem.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/piem.el b/piem.el
index 0b39efb..0efae9e 100644
--- a/piem.el
+++ b/piem.el
@@ -400,7 +400,7 @@ INBOX doesn't have a maildir configured, return the value of
(defun piem-inbox-coderepo-maybe-read ()
"Like `piem-inbox-coderepo', but fall back to reading the repo."
- (let ((inbox
+ (let ((repo
(or (piem-inbox-coderepo)
(and (bound-and-true-p projectile-known-projects)
(expand-file-name
@@ -419,9 +419,9 @@ INBOX doesn't have a maildir configured, return the value of
(fboundp 'magit-read-repository)
(magit-read-repository))
(read-directory-name "Git repository: "))))
- (if (equal inbox "")
- (user-error "No inbox specified")
- inbox)))
+ (if (equal repo "")
+ (user-error "No code repository specified")
+ repo)))
(defun piem-mid ()
"Return the current buffer's message ID."