From: Jani Nikula <jani@nikula.org>
To: notmuch@notmuchmail.org
Subject: [RFC PATCH 1/3] cli: cosmetic style cleanup
Date: Sat, 2 Mar 2013 21:55:19 +0200 [thread overview]
Message-ID: <5eaa3acc22ee5513bdce5ab931b7a79ade880e06.1362254104.git.jani@nikula.org> (raw)
---
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
next reply other threads:[~2013-03-02 19:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-02 19:55 Jani Nikula [this message]
2013-03-02 19:55 ` [RFC PATCH 2/3] cli: add reply.honor_followup_to configuration option Jani Nikula
2013-03-02 19:55 ` [RFC PATCH 3/3] cli: support Mail-Followup-To: in notmuch reply Jani Nikula
2013-03-03 1:07 ` Peter Wang
2013-03-03 9:56 ` Jani Nikula
2013-03-06 11:08 ` Peter Wang
2013-03-29 14:13 ` [RFC PATCH 1/3] cli: cosmetic style cleanup David Bremner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5eaa3acc22ee5513bdce5ab931b7a79ade880e06.1362254104.git.jani@nikula.org \
--to=jani@nikula.org \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).