diff options
author | Kyle Meyer <kyle@kyleam.com> | 2021-06-10 14:59:40 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2021-06-11 13:36:54 -0400 |
commit | a4daee07bef2c9e4bd230da132605a59c8dbd2f0 (patch) | |
tree | eda2fd2a1d0c8ed7de98f90c20735a187a3adfd1 | |
parent | 668646dec3a29ff0c75dbacacb09e03960308ee8 (diff) | |
download | piem-a4daee07bef2c9e4bd230da132605a59c8dbd2f0.tar.gz |
piem-inbox-coderepo-maybe-read: Avoid confusing "inbox" references
piem-inbox-coderepo-maybe-read deals with a code repository but
confusingly calls it "inbox".
Message-Id: <20210610185943.14155-2-kyle@kyleam.com>
-rw-r--r-- | piem.el | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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." |