diff options
author | Pieter Praet <pieter@praet.org> | 2012-01-23 05:22:32 +0100 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-01-23 19:17:16 -0400 |
commit | 649a9f5f3a3749374284dc757250345db8d5c7ad (patch) | |
tree | 0f231c369a7ce2b414da310a5ee28f9051b641b1 /notmuch-search.c | |
parent | 0bd09f844677ba361318d129bd01e21b0f7c1bd9 (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-search.c')
-rw-r--r-- | notmuch-search.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/notmuch-search.c b/notmuch-search.c index 8867aabc..d504051c 100644 --- a/notmuch-search.c +++ b/notmuch-search.c @@ -423,8 +423,8 @@ notmuch_search_command (void *ctx, int argc, char *argv[]) output_t output = OUTPUT_SUMMARY; int offset = 0; int limit = -1; /* unlimited */ - 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; enum { NOTMUCH_FORMAT_JSON, NOTMUCH_FORMAT_TEXT } @@ -493,10 +493,10 @@ notmuch_search_command (void *ctx, int argc, char *argv[]) notmuch_query_set_sort (query, sort); - 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) { default: |