From 0e4677e095c8ac89bb3570fb9c737bd92663890a Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 16 Nov 2023 20:00:38 +0000 Subject: xapian: Reorder incorrect order of arguments to mset-snippet. * xapian/xapian.scm (mset-sxml-snippet): Reorder arguments passed to mset-snippet. --- xapian/xapian.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xapian') diff --git a/xapian/xapian.scm b/xapian/xapian.scm index f8ba284..6f6a4f2 100644 --- a/xapian/xapian.scm +++ b/xapian/xapian.scm @@ -298,7 +298,7 @@ and @var{cjk-ngram?} are the same as in the @code{mset-snippet} function." ;; mset-snippet returns serialized HTML. So, we reverse it with ;; html->sxml. - (match (html->sxml (mset-snippet text mset)) + (match (html->sxml (mset-snippet mset text)) (('*TOP* children ...) (append-map (match-lambda ;; Apply highlight-proc if highlit text. -- cgit v1.2.3