From 480f9f9bbc01e1f986c67ec9294e5b3452532e1b Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Tue, 25 Aug 2020 21:46:55 -0400 Subject: Split a code section In 846c69c (b4: Try to download thread from piem-inboxes URL, 2020-08-16), the "Maildir injection" section gained code that's used more widely. Move it to its own section. --- piem.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/piem.el b/piem.el index 5bc86d5..ef92e73 100644 --- a/piem.el +++ b/piem.el @@ -384,7 +384,7 @@ buffer." nil)))) -;;;; Maildir injection +;;;; Download helpers (defvar piem--has-gunzip) (defun piem-check-gunzip () @@ -418,6 +418,9 @@ buffer indicates that the request did not result in an error." (let ((url-asynchronous nil)) (url-retrieve url #'piem--decompress-callback))) + +;;;; Maildir injection + (defun piem--write-mbox-to-maildir () (let ((n-added 0) (n-skipped 0)) -- cgit v1.2.3