X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fnotmuch.h;h=7615617877504ff81e9b4dee005218ab7a8d023c;hb=afa45bd6b886838b760884a1870f274fc33b5f89;hp=ce375c042746f99532e75fd038bbd6ba9635bcf6;hpb=09f2ad8e853375930c63bca847f623bc722b9cc0;p=notmuch diff --git a/lib/notmuch.h b/lib/notmuch.h index ce375c04..76156178 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -1172,7 +1172,10 @@ notmuch_query_search_threads_st (notmuch_query_t *query, notmuch_threads_t **out * * query = notmuch_query_create (database, query_string); * - * for (messages = notmuch_query_search_messages (query); + * if (notmuch_query_search_messages (query, &messages) != NOTMUCH_STATUS_SUCCESS) + * return EXIT_FAILURE; + * + * for (; * notmuch_messages_valid (messages); * notmuch_messages_move_to_next (messages)) * { @@ -2560,6 +2563,7 @@ typedef enum { NOTMUCH_CONFIG_USER_NAME, NOTMUCH_CONFIG_AUTOCOMMIT, NOTMUCH_CONFIG_EXTRA_HEADERS, + NOTMUCH_CONFIG_INDEX_AS_TEXT, NOTMUCH_CONFIG_LAST } notmuch_config_key_t;