From eb1a5b441be77dc875a9b0fa578441dc52ad442d Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Fri, 30 Oct 2009 23:42:39 -0700 Subject: [PATCH] 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. --- notmuch.el | 4 ++-- 1 file 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'" -- 2.26.2