commit 1ad759a671ce5e856956aadb52ca32f2e2792177
parent 48ba0be464519da10458f55d0587a6a67c630556
Author: Olivier Brunel <jjk@jjacky.com>
Date: Wed, 2 Aug 2017 20:48:58 +0200
Speed-up searches in References via "x"
Since commit 5c9f9e47 (in 2001!) the header "References" is actually
cached in MsgInfo, so searching it can be substantially faster if "x"
expands to 'references' instead of 'header "References"', much like with
'i' (messageid) or 'I' (inreplyto).
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/advsearch.c b/src/advsearch.c
@@ -186,7 +186,7 @@ gchar *advsearch_expand_search_string(const gchar *search_string)
{ "tg", "tag", 1, TRUE, TRUE },
{ "T", "marked", 0, FALSE, FALSE },
{ "U", "unread", 0, FALSE, FALSE },
- { "x", "header \"References\"", 1, TRUE, TRUE },
+ { "x", "references", 1, TRUE, TRUE },
{ "X", "test", 1, FALSE, FALSE },
{ "y", "header \"X-Label\"", 1, TRUE, TRUE },
{ "&", "&", 0, FALSE, FALSE },