From 69191ef580483146f13f9beccc118e4a24c4e607 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 10 Apr 2001 20:51:59 +0000 Subject: [PATCH] Relax the accent match rules of "auto" accent mode: if some _outer_ word matches only without accents in an accented document and the match is in URL keywords, accept it (we know it will be real match as the word is outer). Bleeeech, it's ugly. --- lib/index.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/index.h b/lib/index.h index 89d90aaf..733995a1 100644 --- a/lib/index.h +++ b/lib/index.h @@ -49,6 +49,9 @@ enum word_type { /* These types are not shown in document contexts */ #define WORD_TYPES_HIDDEN ((1 << WT_URL1) | (1 << WT_URL2)) +/* These types are always matched without accents if accent mode is set to "auto" */ +#define WORD_TYPES_NO_AUTO_ACCENT ((1 << WT_URL1) | (1 << WT_URL2)) + /* String types */ enum string_type { -- 2.39.5