aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-count.c
diff options
context:
space:
mode:
authorGravatar Pieter Praet <pieter@praet.org>2012-01-23 05:22:32 +0100
committerGravatar David Bremner <bremner@debian.org>2012-01-23 19:17:16 -0400
commit649a9f5f3a3749374284dc757250345db8d5c7ad (patch)
tree0f231c369a7ce2b414da310a5ee28f9051b641b1 /notmuch-count.c
parent0bd09f844677ba361318d129bd01e21b0f7c1bd9 (diff)
search: rename auto_exclude_tags to {search, }exclude_tags
All other config-related functions and args include the section title in their name, so for the sake of consistency, mirror that. Also, the "auto"matic part is a given, so that was dropped.
Diffstat (limited to 'notmuch-count.c')
-rw-r--r--notmuch-count.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/notmuch-count.c b/notmuch-count.c
index f77861ee..63459fb6 100644
--- a/notmuch-count.c
+++ b/notmuch-count.c
@@ -35,8 +35,8 @@ notmuch_count_command (void *ctx, int argc, char *argv[])
char *query_str;
int opt_index;
int output = OUTPUT_MESSAGES;
- const char **auto_exclude_tags;
- size_t auto_exclude_tags_length;
+ const char **search_exclude_tags;
+ size_t search_exclude_tags_length;
unsigned int i;
notmuch_opt_desc_t options[] = {
@@ -78,10 +78,10 @@ notmuch_count_command (void *ctx, int argc, char *argv[])
return 1;
}
- auto_exclude_tags = notmuch_config_get_auto_exclude_tags
- (config, &auto_exclude_tags_length);
- for (i = 0; i < auto_exclude_tags_length; i++)
- notmuch_query_add_tag_exclude (query, auto_exclude_tags[i]);
+ search_exclude_tags = notmuch_config_get_search_exclude_tags
+ (config, &search_exclude_tags_length);
+ for (i = 0; i < search_exclude_tags_length; i++)
+ notmuch_query_add_tag_exclude (query, search_exclude_tags[i]);
switch (output) {
case OUTPUT_MESSAGES: