[PATCH 1/3] emacs: update call in tag-completion function

Subject: [PATCH 1/3] emacs: update call in tag-completion function

Date: Mon, 9 Apr 2012 11:36:16 -0700

To: Notmuch Mail

Cc:

From: Jameson Graef Rollins


"search-tags" is deprecated, so use the more modern and supported
"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: