Do not query on notmuch-search exit

Emacs 23.2 queries by default about killing existing processes. This
is annoying when one wants to interrupt long search with 'q' key.
Disable this behavior for notmuch.
This commit is contained in:
Michal Sojka 2011-08-27 14:38:26 +02:00 committed by David Bremner
parent 34aa8e8a9c
commit 0234a16b56

View file

@ -951,7 +951,8 @@ The optional parameters are used as follows:
"--sort=newest-first") "--sort=newest-first")
query))) query)))
(set-process-sentinel proc 'notmuch-search-process-sentinel) (set-process-sentinel proc 'notmuch-search-process-sentinel)
(set-process-filter proc 'notmuch-search-process-filter)))) (set-process-filter proc 'notmuch-search-process-filter)
(set-process-query-on-exit-flag proc nil))))
(run-hooks 'notmuch-search-hook))) (run-hooks 'notmuch-search-hook)))
(defun notmuch-search-refresh-view () (defun notmuch-search-refresh-view ()