diff options
author | Carl Worth <cworth@cworth.org> | 2011-03-10 17:59:53 -0800 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2011-03-10 17:59:53 -0800 |
commit | eead2382774f42c3531f7abe6f06cbe88fe4492a (patch) | |
tree | c71efa1725efa6cdcaaf7393bf917209acca5094 /emacs | |
parent | 708c4f46caae76d4366a6a8de369943a3adef443 (diff) |
emacs: Define notmuch-search-process-filter-data before first use.
To avoid a wraning about a reference to a free variable when compiling.
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/notmuch.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/emacs/notmuch.el b/emacs/notmuch.el index d9a6b67a..92a86cf2 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -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)) |