aboutsummaryrefslogtreecommitdiff
path: root/emacs/notmuch.el
diff options
context:
space:
mode:
authorMichal Sojka <sojkam1@fel.cvut.cz>2011-08-27 14:38:26 +0200
committerDavid Bremner <bremner@debian.org>2011-11-08 14:25:07 -0400
commit0234a16b56e9fa126cf07b9f3634f5b47e3fcfa7 (patch)
tree8b309357244eeb0963cab521475c1c09702f0b80 /emacs/notmuch.el
parent34aa8e8a9c60e7b7003860ca33d27197a0763d63 (diff)
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.
Diffstat (limited to 'emacs/notmuch.el')
-rw-r--r--emacs/notmuch.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index bb7565c..456c783 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 ()