[PATCH] emacs: hello: update docs for saved-search sort defcustom.
Mark Walters
markwalters1009 at gmail.com
Sat Apr 12 01:51:27 PDT 2014
Update the documentation for notmuch-saved-search-sort-function to
match the new format and recommend the best way to access the fields
(which should minimize breakage if we need to change the format again
in the future).
---
This could be rolled into id:1397292033-26502-1-git-send-email-markwalters1009 at gmail.com
Best wishes
Mark
emacs/notmuch-hello.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
index fca2bcc..b8ec665 100644
--- a/emacs/notmuch-hello.el
+++ b/emacs/notmuch-hello.el
@@ -54,8 +54,10 @@ (defcustom notmuch-saved-search-sort-function nil
stored in `notmuch-saved-searches'. Sort alphabetically sorts the
saved searches in alphabetical order. Custom sort function should
be a function or a lambda expression that takes the saved
-searches alist as a parameter, and returns a new saved searches
-alist to be used."
+searches list as a parameter, and returns a new saved searches
+list to be used. For compatibility with the various saved-search
+formats it should use notmuch-saved-search-get to access the
+fields of the search."
:type '(choice (const :tag "No sorting" nil)
(const :tag "Sort alphabetically" notmuch-sort-saved-searches)
(function :tag "Custom sort function"
--
1.7.10.4
More information about the notmuch
mailing list