From: Michal Sojka Date: Sat, 27 Aug 2011 12:38:26 +0000 (+0200) Subject: Do not query on notmuch-search exit X-Git-Tag: 0.10_rc1~31 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=0234a16b56e9fa126cf07b9f3634f5b47e3fcfa7 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. --- diff --git a/emacs/notmuch.el b/emacs/notmuch.el index bb7565cb..456c7830 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -951,7 +951,8 @@ The optional parameters are used as follows: "--sort=newest-first") query))) (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))) (defun notmuch-search-refresh-view ()