[PATCH 2/8] emacs: update tag-completion function
Jameson Graef Rollins
jrollins at finestructure.net
Sat Apr 7 17:35:32 PDT 2012
"search-tags" is deprecated, so we move to the more modern and
supported "search --output=tags".
---
emacs/notmuch-tag.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/emacs/notmuch-tag.el b/emacs/notmuch-tag.el
index 81b4b00..5240d13 100644
--- a/emacs/notmuch-tag.el
+++ b/emacs/notmuch-tag.el
@@ -59,7 +59,7 @@ the messages that were tagged"
(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
More information about the notmuch
mailing list