X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-config.c;h=e9b275096acb999103db4b5a68a74f27f0a5dcf1;hp=61fda3ea4bafd49ef14d075c2cef70c8d5f2a20c;hb=7400e18fb5f532524146f7083bf964c7e501bdc8;hpb=ad6a6edb38e428f7bbcd81b49fd2ef1e5197f8c7 diff --git a/notmuch-config.c b/notmuch-config.c index 61fda3ea..e9b27509 100644 --- a/notmuch-config.c +++ b/notmuch-config.c @@ -377,7 +377,8 @@ notmuch_config_open (void *ctx, if (notmuch_config_get_search_exclude_tags (config, &tmp) == NULL) { if (is_new) { - /* We do not set default search_exclude_tags for 0.12 */ + const char *tags[] = { "deleted", "spam" }; + notmuch_config_set_search_exclude_tags (config, tags, 2); } else { notmuch_config_set_search_exclude_tags (config, NULL, 0); }