unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [RFC PATCH 1/3] cli: cosmetic style cleanup
@ 2013-03-02 19:55 Jani Nikula
  2013-03-02 19:55 ` [RFC PATCH 2/3] cli: add reply.honor_followup_to configuration option Jani Nikula
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jani Nikula @ 2013-03-02 19:55 UTC (permalink / raw)
  To: notmuch

---
 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

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-03-29 14:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-02 19:55 [RFC PATCH 1/3] cli: cosmetic style cleanup Jani Nikula
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

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).