Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 666D8431FBD for ; Sat, 2 Mar 2013 11:55:28 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wk+jG0xqa5yP for ; Sat, 2 Mar 2013 11:55:26 -0800 (PST) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com [209.85.215.41]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 2A877431FAE for ; Sat, 2 Mar 2013 11:55:26 -0800 (PST) Received: by mail-la0-f41.google.com with SMTP id fo12so3947992lab.28 for ; Sat, 02 Mar 2013 11:55:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=bZW1Cx1zdHuCuTY4ocqhCGBI5klXcq+BPPYgge7Axj8=; b=AslaupO/uDc/LQihrGNX0gmq+5xgpz9XkiKqj87OrUQBC/Yr3OPQlX1eqLd2PRnC3c MH5ifQHAIY3JuwMTJARPTH2aFqNqctZsc+lZMEMGYnQqrjqQeex9JtE/C5SRmlmZhXS7 tn1jhZTmDQrkowyFrbfwet+BhfRju1Xb+k472r8vORQeCuR331KSxrK2jkiAMpRQ8zV5 xibh71nIU29v1m6TJckwbVY8O9iMvdTkGDay8X5hBjX1+XKJn0hj6bHWOaqTGImjtavJ keQVtUJRuTNFI6KWrubTbVUl883gs1XGEf5+LWDR3FoplcOSkM2dVCMYZ7d1xA+dV48Q 9M7w== X-Received: by 10.152.133.133 with SMTP id pc5mr12958795lab.32.1362254123158; Sat, 02 Mar 2013 11:55:23 -0800 (PST) Received: from localhost (dsl-hkibrasgw4-50df51-27.dhcp.inet.fi. [80.223.81.27]) by mx.google.com with ESMTPS id go12sm8939701lab.3.2013.03.02.11.55.21 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 02 Mar 2013 11:55:22 -0800 (PST) From: Jani Nikula To: notmuch@notmuchmail.org Subject: [RFC PATCH 1/3] cli: cosmetic style cleanup Date: Sat, 2 Mar 2013 21:55:19 +0200 Message-Id: <5eaa3acc22ee5513bdce5ab931b7a79ade880e06.1362254104.git.jani@nikula.org> X-Mailer: git-send-email 1.7.10.4 X-Gm-Message-State: ALoCoQmYjSZNe03bTkAKXav0JnRHyMREZn+djZQPIVOfX3CRiLBww4Y6KC0LGtGZ0P85boYaBpq8 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Mar 2013 19:55:28 -0000 --- notmuch-config.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/notmuch-config.c b/notmuch-config.c index b5c2066..45b4c0e 100644 --- a/notmuch-config.c +++ b/notmuch-config.c @@ -398,39 +398,28 @@ notmuch_config_open (void *ctx, * the configuration file, we add some comments to help the user * understand what can be done. */ if (is_new) - { g_key_file_set_comment (config->key_file, NULL, NULL, toplevel_config_comment, NULL); - } if (! file_had_database_group) - { g_key_file_set_comment (config->key_file, "database", NULL, database_config_comment, NULL); - } if (! file_had_new_group) - { g_key_file_set_comment (config->key_file, "new", NULL, new_config_comment, NULL); - } if (! file_had_user_group) - { g_key_file_set_comment (config->key_file, "user", NULL, user_config_comment, NULL); - } if (! file_had_maildir_group) - { g_key_file_set_comment (config->key_file, "maildir", NULL, maildir_config_comment, NULL); - } - if (! file_had_search_group) { + if (! file_had_search_group) g_key_file_set_comment (config->key_file, "search", NULL, search_config_comment, NULL); - } if (is_new_ret) *is_new_ret = is_new; -- 1.7.10.4