From 0234a16b56e9fa126cf07b9f3634f5b47e3fcfa7 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Sat, 27 Aug 2011 14:38:26 +0200 Subject: [PATCH] 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. --- emacs/notmuch.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 () -- 2.43.0