]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: update call in tag-completion function
authorJameson Graef Rollins <jrollins@finestructure.net>
Mon, 9 Apr 2012 18:36:16 +0000 (11:36 -0700)
committerDavid Bremner <bremner@debian.org>
Thu, 12 Apr 2012 11:42:55 +0000 (08:42 -0300)
"search-tags" is deprecated, so use the more modern and supported
"search --output=tags".

emacs/notmuch.el

index f0afa0721628c8d53e7abfe3b8d4e603260d2892..38ae00507c9178d73cccb1be0de573d72de9d903 100644 (file)
@@ -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)