aboutsummaryrefslogtreecommitdiff
path: root/lib/config.cc
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-01-01 09:01:24 -0400
committerDavid Bremner <david@tethera.net>2021-02-06 19:39:33 -0400
commitb860be6a765b421f755a7c1b054f6b9a39b129c0 (patch)
tree92690862f54827b116256c190242f7b6c99c9922 /lib/config.cc
parentbaf1202fbc3b27790d0ff347e29589188d5644a5 (diff)
lib/config: add NOTMUCH_CONFIG_NEW_IGNORE
This will be needed by (at least) the conversion of notmuch-new.c to the new config framework
Diffstat (limited to 'lib/config.cc')
-rw-r--r--lib/config.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/config.cc b/lib/config.cc
index fe67ef41..4c0cfe92 100644
--- a/lib/config.cc
+++ b/lib/config.cc
@@ -394,6 +394,8 @@ _notmuch_config_key_to_string (notmuch_config_key_t key) {
return "search.exclude_tags";
case NOTMUCH_CONFIG_NEW_TAGS:
return "new.tags";
+ case NOTMUCH_CONFIG_NEW_IGNORE:
+ return "new.ignore";
case NOTMUCH_CONFIG_SYNC_MAILDIR_FLAGS:
return "maildir.synchronize_flags";
case NOTMUCH_CONFIG_PRIMARY_EMAIL:
@@ -426,6 +428,7 @@ _notmuch_config_default (void *ctx, notmuch_config_key_t key) {
return "inbox;unread";
case NOTMUCH_CONFIG_SYNC_MAILDIR_FLAGS:
return "true";
+ case NOTMUCH_CONFIG_NEW_IGNORE:
case NOTMUCH_CONFIG_USER_NAME:
case NOTMUCH_CONFIG_PRIMARY_EMAIL:
case NOTMUCH_CONFIG_OTHER_EMAIL: