aboutsummaryrefslogtreecommitdiff
path: root/emacs/notmuch.el
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2021-07-19 13:31:07 +0200
committerDavid Bremner <david@tethera.net>2021-08-29 17:45:05 -0700
commit01298a8437df75f0cd693f0e0547def940dc0aa3 (patch)
tree30ddd3a7cc81874ef9e48fd337532ac753d09052 /emacs/notmuch.el
parentf01df47ce11f67dfe746f9b2bb3a4384d1c9ced0 (diff)
emacs: fix some option type declarations
Also improve their doc-strings.
Diffstat (limited to 'emacs/notmuch.el')
-rw-r--r--emacs/notmuch.el13
1 files changed, 8 insertions, 5 deletions
diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 739cb93b..9802e2ec 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -88,18 +88,21 @@
("authors" . "%-20s ")
("subject" . "%s ")
("tags" . "(%s)"))
- "Search result formatting. Supported fields are:
- date, count, authors, subject, tags
+ "Search result formatting.
+
+Supported fields are: date, count, authors, subject, tags.
For example:
- (setq notmuch-search-result-format \(\(\"authors\" . \"%-40s\"\)
- \(\"subject\" . \"%s\"\)\)\)
+ (setq notmuch-search-result-format
+ '((\"authors\" . \"%-40s\")
+ (\"subject\" . \"%s\")))
+
Line breaks are permitted in format strings (though this is
currently experimental). Note that a line break at the end of an
\"authors\" field will get elided if the authors list is long;
place it instead at the beginning of the following field. To
enter a line break when setting this variable with setq, use \\n.
To enter a line break in customize, press \\[quoted-insert] C-j."
- :type '(alist :key-type (string) :value-type (string))
+ :type '(alist :key-type string :value-type string)
:group 'notmuch-search)
;; The name of this variable `notmuch-init-file' is consistent with the