X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch.el;h=4f4a7c9c9f7e0b2a6b7e9fe32068beea844203b5;hp=84152fbccfebb14d55511a50d8fa759873c32d08;hb=eb1a5b441be77dc875a9b0fa578441dc52ad442d;hpb=7e8ba9adf8198acf46f36913853c1af332467afe 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'"