From 2bfa70174cc766a6cf73eb403ef6c88b147c2919 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sat, 22 Aug 2020 15:01:28 -0400 Subject: 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> --- piem.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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))))) -- cgit v1.2.3