(defun notmuch-search (query)
"Run \"notmuch search\" with the given query string and display results."
- (interactive "sNotmuch search:")
- (compilation-start (concat "notmuch search " query) 'notmuch-search-mode))
+ (interactive "sNotmuch search: ")
+ (start-process "notmuch-search" (concat "*notmuch-search-" query) "notmuch" "search" query))
(defun notmuch ()
"Run notmuch to display all mail with tag of 'inbox'"