~abcdw/rde

6d32c23b81be5a32637c739c1dd6b01ce2ae2797 — Xinglu Chen 4 months ago 48dd30a
gnu: home-services: mail: Fix ‘l2md-repo->alist’ serialization

This is a followup to commit 48dd30a50fb4377f7aa9a35bd92d5a97b4166d78.

* mail.scm (serialize-l2md-configuration): Check the value of
‘maildir’ and ‘pipe’ before serializing.
1 files changed, 2 insertions(+), 2 deletions(-)

M gnu/home-services/mail.scm
M gnu/home-services/mail.scm => gnu/home-services/mail.scm +2 -2
@@ 296,8 296,8 @@ a particular public-inbox repository."))
                (,@(map (lambda (url)
                          `(url . ,url))
                        (maybe-list urls))
                 (maildir . ,maildir)
                 (pipe . ,pipe)
                 ,@(optional (not (eq? maildir 'disabled)) `((maildir . ,maildir)))
                 ,@(optional (not (eq? pipe 'disabled)) `((pipe . ,pipe)))
                 (initial-import . ,initial-import)
                 (sync-enabled . ,sync-enabled?)))))))