mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 04:18:08 +01:00
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.
This commit is contained in:
parent
7e8ba9adf8
commit
eb1a5b441b
1 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@
|
|||
(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))
|
||||
(start-process "notmuch-search" (concat "*notmuch-search-" query) "notmuch" "search" query))
|
||||
|
||||
(defun notmuch ()
|
||||
"Run notmuch to display all mail with tag of 'inbox'"
|
||||
|
|
Loading…
Reference in a new issue