From f6602ab27bb8a90e03a2343751a30f43634dd554 Mon Sep 17 00:00:00 2001 From: nick de heras Date: Fri, 28 Oct 2022 20:50:08 -0400 Subject: [PATCH] docs(notmuch): fix custom sync backend snippet The method for customizing +notmuch-sync-backend was changed in 19d4126 to accept a string; consequently the current example in the docs results in an error: user-error: Invalid notmuch backend specified: custom Ref: 19d41262e4a1 --- modules/email/notmuch/README.org | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/email/notmuch/README.org b/modules/email/notmuch/README.org index 146160382..b22d374c2 100644 --- a/modules/email/notmuch/README.org +++ b/modules/email/notmuch/README.org @@ -140,9 +140,8 @@ will be quicker than =offlineimap=. If you have a unique method for synchronizing your email, you can define your own backend: #+begin_src emacs-lisp -(setq +notmuch-sync-backend 'custom - ;; Set this to an arbitrary shell command - +notmuch-sync-command "my-notmuch-sync-cmd") +;; Set this to an arbitrary shell command +(setq +notmuch-sync-backend "my-notmuch-sync-cmd") #+end_src ** Sending mail