aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-02-14 09:32:41 -0400
committerDavid Bremner <david@tethera.net>2021-03-27 09:26:14 -0300
commitb76da87d29b6c9714e3d62fd8d459733df084f92 (patch)
treeab612562cb1ba24f1640fbea011653f49051996e /lib
parent3787fe6c84ae223ba8c34920c3a2495c71abfe6c (diff)
CLI/config: migrate notmuch_config_open to new config
notmuch_config_open will be preserved in the medium term for use by the commands that are manipulating the config file directly (config and setup)
Diffstat (limited to 'lib')
-rw-r--r--lib/config.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/config.cc b/lib/config.cc
index 36f242f2..26280842 100644
--- a/lib/config.cc
+++ b/lib/config.cc
@@ -598,7 +598,7 @@ _notmuch_config_default (notmuch_database_t *notmuch, notmuch_config_key_t key)
case NOTMUCH_CONFIG_EXCLUDE_TAGS:
return "";
case NOTMUCH_CONFIG_NEW_TAGS:
- return "inbox;unread";
+ return "unread;inbox";
case NOTMUCH_CONFIG_SYNC_MAILDIR_FLAGS:
return "true";
case NOTMUCH_CONFIG_USER_NAME:
@@ -615,9 +615,10 @@ _notmuch_config_default (notmuch_database_t *notmuch, notmuch_config_key_t key)
else
email = _get_email_from_passwd_file (notmuch);
return email;
+ case NOTMUCH_CONFIG_NEW_IGNORE:
+ return "";
case NOTMUCH_CONFIG_HOOK_DIR:
case NOTMUCH_CONFIG_BACKUP_DIR:
- case NOTMUCH_CONFIG_NEW_IGNORE:
case NOTMUCH_CONFIG_OTHER_EMAIL:
return NULL;
default: