[PATCH 1/3] emacs: update call in tag-completion function
Jameson Graef Rollins
jrollins at finestructure.net
Mon Apr 9 11:36:16 PDT 2012
"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
More information about the notmuch
mailing list