[PATCH 1/2] emacs: restore autoload cookie for notmuch-search

David Bremner david at tethera.net
Wed Dec 7 16:45:51 PST 2016


The cookie only applies to next form, so in the previous location it
applied to the put, rather than the function.
---
 emacs/notmuch.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 68a4c0b..46f14fe 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -931,8 +931,8 @@ PROMPT is the string to prompt with."
   "Return the current query in this search buffer"
   notmuch-search-query-string)
 
-;;;###autoload
 (put 'notmuch-search 'notmuch-doc "Search for messages.")
+;;;###autoload
 (defun notmuch-search (&optional query oldest-first target-thread target-line)
   "Display threads matching QUERY in a notmuch-search buffer.
 
-- 
2.10.2



More information about the notmuch mailing list