summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2020-08-22 15:01:28 -0400
committerKyle Meyer <kyle@kyleam.com>2020-08-23 20:36:58 -0400
commit2bfa70174cc766a6cf73eb403ef6c88b147c2919 (patch)
tree8dfeca48d59073dd00a1ec2b7989fb319de5f372
parent846c69cae321442bb2f5cefec7000328943c7560 (diff)
downloadpiem-2bfa70174cc766a6cf73eb403ef6c88b147c2919.tar.gz
inject: Abbreviate piem-maildir-directory in message
The message is going to get longer when skip counts are reported, so try to save some characters. Message-Id: <20200822190130.20397-2-kyle@kyleam.com>
-rw-r--r--piem.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/piem.el b/piem.el
index 3669cfe..5fc7f04 100644
--- a/piem.el
+++ b/piem.el
@@ -444,7 +444,8 @@ buffer indicates that the request did not result in an error."
(piem--url-decompress))
(let ((message-count (piem--write-mbox-to-maildir)))
(message "%d message(s) for %s moved to %s"
- message-count mid piem-maildir-directory))
+ message-count mid
+ (abbreviate-file-name piem-maildir-directory)))
(run-hook-with-args 'piem-after-mail-injection-functions mid)))
(and (buffer-live-p buffer)
(kill-buffer buffer)))))