[PATCH] emacs: escape quote in notmuch-search-result-format docstring

Subject: [PATCH] emacs: escape quote in notmuch-search-result-format docstring

Date: Wed, 16 Feb 2022 07:59:28 -0400

To: Tomi Ollila, Rudolf Adamkovič, notmuch@notmuchmail.org

Cc:

From: David Bremner


Prevent Emacs' mangling of quotes, which breaks the code sample.
---
 emacs/notmuch.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 6abb17ff..c9cf80dc 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -93,7 +93,7 @@
 Supported fields are: date, count, authors, subject, tags.
 For example:
     (setq notmuch-search-result-format
-          '((\"authors\" . \"%-40s\")
+          \\='((\"authors\" . \"%-40s\")
             (\"subject\" . \"%s\")))
 
 Line breaks are permitted in format strings (though this is
-- 
2.34.1

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: