aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch.el
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-10-30 23:42:39 -0700
committerGravatar Carl Worth <cworth@cworth.org>2009-10-30 23:42:39 -0700
commiteb1a5b441be77dc875a9b0fa578441dc52ad442d (patch)
treeb62dfaafcc6ce541d920e5ab6e8b8f6d71c8ad1e /notmuch.el
parent7e8ba9adf8198acf46f36913853c1af332467afe (diff)
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.
Diffstat (limited to 'notmuch.el')
-rw-r--r--notmuch.el4
1 files changed, 2 insertions, 2 deletions
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'"