emacs: Define notmuch-search-process-filter-data before first use.
authorCarl Worth <cworth@cworth.org>
Fri, 11 Mar 2011 01:59:53 +0000 (17:59 -0800)
committerCarl Worth <cworth@cworth.org>
Fri, 11 Mar 2011 01:59:53 +0000 (17:59 -0800)
To avoid a wraning about a reference to a free variable when compiling.

emacs/notmuch.el

index d9a6b67a6ba8c595e94bc297cfb292e9f73f3753..92a86cf247ceb5ff6f52c928b8a84deca54ee08c 100644 (file)
@@ -563,6 +563,10 @@ This function advances the next thread when finished."
   (notmuch-search-remove-tag-thread "inbox")
   (forward-line))
 
+(defvar notmuch-search-process-filter-data nil
+  "Data that has not yet been processed.")
+(make-variable-buffer-local 'notmuch-search-process-filter-data)
+
 (defun notmuch-search-process-sentinel (proc msg)
   "Add a message to let user know when \"notmuch search\" exits"
   (let ((buffer (process-buffer proc))
@@ -738,10 +742,6 @@ non-authors is found, assume that all of the authors match."
          do (notmuch-search-insert-field field date count authors subject tags)))
   (insert "\n"))
 
-(defvar notmuch-search-process-filter-data nil
-  "Data that has not yet been processed.")
-(make-variable-buffer-local 'notmuch-search-process-filter-data)
-
 (defun notmuch-search-process-filter (proc string)
   "Process and filter the output of \"notmuch search\""
   (let ((buffer (process-buffer proc))