database error
[notmuch-archives.git] / e6 / 493eb902f1ec8ec10cde839339c8513ae7709f
1 Return-Path: <dme@dme.org>\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 olra.theworths.org (Postfix) with ESMTP id AE28D431FC3\r
6         for <notmuch@notmuchmail.org>; Wed,  8 Feb 2012 00:02:42 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id IIdi076ZeORb for <notmuch@notmuchmail.org>;\r
16         Wed,  8 Feb 2012 00:02:41 -0800 (PST)\r
17 Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com\r
18  [74.125.82.45])        (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
19  certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
20  87D84431FBF    for <notmuch@notmuchmail.org>; Wed,  8 Feb 2012 00:02:32 -0800\r
21  (PST)\r
22 Received: by wgbdt12 with SMTP id dt12so226271wgb.2\r
23         for <notmuch@notmuchmail.org>; Wed, 08 Feb 2012 00:02:31 -0800 (PST)\r
24 MIME-Version: 1.0\r
25 Received: by 10.216.133.2 with SMTP id p2mr6161115wei.54.1328688151319;\r
26         Wed, 08 Feb 2012 00:02:31 -0800 (PST)\r
27 Received: from hotblack-desiato.hh.sledj.net\r
28         (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25])\r
29         by mx.google.com with ESMTPS id n5sm476768wiw.7.2012.02.08.00.02.27\r
30         (version=TLSv1/SSLv3 cipher=OTHER);\r
31         Wed, 08 Feb 2012 00:02:29 -0800 (PST)\r
32 Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000)\r
33         id 50E37A3807; Wed,  8 Feb 2012 08:02:21 +0000 (GMT)\r
34 From: David Edmondson <dme@dme.org>\r
35 To: notmuch@notmuchmail.org\r
36 Subject: [PATCH v8 6/8] emacs: Check that the parent buffer is alive before\r
37         using it.\r
38 Date: Wed,  8 Feb 2012 08:02:17 +0000\r
39 Message-Id: <1328688139-3865-9-git-send-email-dme@dme.org>\r
40 X-Mailer: git-send-email 1.7.8.3\r
41 In-Reply-To: <1328688139-3865-1-git-send-email-dme@dme.org>\r
42 References: <1327486729-18052-1-git-send-email-dme@dme.org>\r
43         <1328688139-3865-1-git-send-email-dme@dme.org>\r
44 X-Gm-Message-State:\r
45  ALoCoQlpwErJJmX21hV6+8HLYAEMH8MZEjZPVtNQGQsigYxUwxnH0y79U9S2bd/3cqXl+T25vupe\r
46 X-BeenThere: notmuch@notmuchmail.org\r
47 X-Mailman-Version: 2.1.13\r
48 Precedence: list\r
49 List-Id: "Use and development of the notmuch mail system."\r
50         <notmuch.notmuchmail.org>\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
54 List-Post: <mailto:notmuch@notmuchmail.org>\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
58 X-List-Received-Date: Wed, 08 Feb 2012 08:02:43 -0000\r
59 \r
60 ---\r
61  emacs/notmuch-show.el |    2 +-\r
62  1 files changed, 1 insertions(+), 1 deletions(-)\r
63 \r
64 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
65 index a668625..bb46523 100644\r
66 --- a/emacs/notmuch-show.el\r
67 +++ b/emacs/notmuch-show.el\r
68 @@ -1686,7 +1686,7 @@ added."\r
69    (interactive "P")\r
70    (let ((parent-buffer notmuch-show-parent-buffer))\r
71      (notmuch-kill-this-buffer)\r
72 -    (when parent-buffer\r
73 +    (when (buffer-live-p parent-buffer)\r
74        (switch-to-buffer parent-buffer)\r
75        (notmuch-search-next-thread)\r
76        (if show-next\r
77 -- \r
78 1.7.8.3\r
79 \r