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: 19d41262e4
This commit is contained in:
nick de heras 2022-10-28 20:50:08 -04:00 committed by GitHub
parent ef9e21c90c
commit f6602ab27b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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