1 Return-Path: <too@guru-group.fi>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by arlo.cworth.org (Postfix) with ESMTP id 7EA996DE01F7
\r
6 for <notmuch@notmuchmail.org>; Sat, 28 May 2016 04:06:27 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=0.254 tagged_above=-999 required=5 tests=[AWL=0.263,
\r
12 HEADER_FROM_DIFFERENT_DOMAINS=0.001, T_RP_MATCHES_RCVD=-0.01]
\r
14 Received: from arlo.cworth.org ([127.0.0.1])
\r
15 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id E6DEF-i8ojup for <notmuch@notmuchmail.org>;
\r
17 Sat, 28 May 2016 04:06:19 -0700 (PDT)
\r
18 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])
\r
19 by arlo.cworth.org (Postfix) with ESMTP id B9E8D6DE01EE
\r
20 for <notmuch@notmuchmail.org>; Sat, 28 May 2016 04:06:18 -0700 (PDT)
\r
21 Received: by guru.guru-group.fi (Postfix, from userid 501)
\r
22 id 9F6341000B3; Sat, 28 May 2016 14:06:05 +0300 (EEST)
\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
24 To: notmuch@notmuchmail.org
\r
25 Cc: tomi.ollila@iki.fi
\r
26 Subject: [PATCH 1/2] notmuch-emacs-mua: use message-add-actions
\r
27 Date: Sat, 28 May 2016 14:06:03 +0300
\r
28 Message-Id: <1464433564-13180-1-git-send-email-tomi.ollila@iki.fi>
\r
29 X-Mailer: git-send-email 2.8.2
\r
30 In-Reply-To: <877fev1mcv.fsf@zancas.localnet>
\r
31 References: <877fev1mcv.fsf@zancas.localnet>
\r
32 X-BeenThere: notmuch@notmuchmail.org
\r
33 X-Mailman-Version: 2.1.20
\r
35 List-Id: "Use and development of the notmuch mail system."
\r
36 <notmuch.notmuchmail.org>
\r
37 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,
\r
38 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
39 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
40 List-Post: <mailto:notmuch@notmuchmail.org>
\r
41 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
42 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,
\r
43 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
44 X-List-Received-Date: Sat, 28 May 2016 11:06:27 -0000
\r
46 Use message.el -provided function message-add-actions to
\r
47 set(/add) #'save-buffers-kill-terminal into the message-exit-actions
\r
50 notmuch-emacs-mua | 2 +-
\r
51 1 file changed, 1 insertion(+), 1 deletion(-)
\r
53 diff --git a/notmuch-emacs-mua b/notmuch-emacs-mua
\r
54 index 4404cd7c33b8..1168c6f65a5f 100755
\r
55 --- a/notmuch-emacs-mua
\r
56 +++ b/notmuch-emacs-mua
\r
57 @@ -132,7 +132,7 @@ done
\r
59 # Kill the terminal/frame if we're creating one.
\r
60 if [ -z "$USE_EMACSCLIENT" -o -n "$CREATE_FRAME" -o -n "$NO_WINDOW" ]; then
\r
61 - ELISP="${ELISP} (setq message-exit-actions (list #'save-buffers-kill-terminal))"
\r
62 + ELISP="${ELISP} (message-add-action #'save-buffers-kill-terminal 'exit)"
\r