From: Carl Worth Date: Sat, 31 Oct 2009 06:42:39 +0000 (-0700) Subject: notmuch.el: Switch from compilation-start to start-process X-Git-Tag: 0.1~645 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eb1a5b441be77dc875a9b0fa578441dc52ad442d;p=notmuch.git notmuch.el: Switch from compilation-start to start-process Compilation mode does a bunch of things that we don't want. Instead of trying to tear it down to what we want, let's start at the other end and build up only things that we really want. --- diff --git a/notmuch.el b/notmuch.el index 84152fbc..4f4a7c9c 100644 --- a/notmuch.el +++ b/notmuch.el @@ -42,8 +42,8 @@ (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'"