[PATCH 1/6] emacs: update tag-completion function

Subject: [PATCH 1/6] emacs: update tag-completion function

Date: Mon, 2 Apr 2012 01:20:48 -0700

To: Notmuch Mail

Cc:

From: Jameson Graef Rollins


"search-tags" is deprecated, so we move to the more modern "search
--output=tags".
---
 emacs/notmuch.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index f0afa07..38ae005 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -89,7 +89,7 @@ For example:
    (with-output-to-string
      (with-current-buffer standard-output
        (apply 'call-process notmuch-command nil t
-	      nil "search-tags" search-terms)))
+	      nil "search" "--output=tags" search-terms)))
    "\n+" t))
 
 (defun notmuch-select-tag-with-completion (prompt &rest search-terms)
-- 
1.7.9.1


Thread: