emacs: don't use deprecated "notmuch search-tags" command
authorDavid Bremner <bremner@debian.org>
Sat, 19 Jan 2013 18:25:52 +0000 (14:25 -0400)
committerDavid Bremner <bremner@debian.org>
Wed, 23 Jan 2013 01:18:56 +0000 (21:18 -0400)
A followup patch will finally remove this command, so we need to stop
using it.

emacs/notmuch-hello.el

index 6db62a01c46b09e7851c9259552c13d7a7574c6b..00b78e1ed265a74d52aaf78d7479934f55a65cfb 100644 (file)
@@ -504,7 +504,7 @@ Complete list of currently available key bindings:
          (notmuch-remove-if-not
           (lambda (tag)
             (not (member tag hide-tags)))
-          (process-lines notmuch-command "search-tags"))))
+          (process-lines notmuch-command "search" "--output=tags" "*"))))
 
 (defun notmuch-hello-insert-header ()
   "Insert the default notmuch-hello header."