branch: externals/trie commit 1b3b473aabd2cc3704a3567e6d153bd12823549a Author: Toby Cubitt <toby-predict...@dr-qubit.org> Commit: tsc25 <toby-predict...@dr-qubit.org>
Another bug-fix in trie--do-wildcard-search --- trie.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trie.el b/trie.el index 34df39a..5f0acc8 100644 --- a/trie.el +++ b/trie.el @@ -1757,7 +1757,7 @@ wildcards will be particularly slow." (while pat (if (null grp-stack) (error "Syntax error in trie wildcard pattern: missing \"(\"") - (push (cons (pop grp-stack) idx) grps) + (push (cons (pop grp-stack) (length seq)) grps) (setq pat (cdr pat)))) (unless (null grp-stack) (error "Syntax error in trie wildcard pattern: missing \")\""))