aboutsummaryrefslogtreecommitdiff
path: root/xapian
diff options
context:
space:
mode:
authorArun Isaac2023-11-16 20:00:38 +0000
committerArun Isaac2023-11-16 20:00:38 +0000
commit0e4677e095c8ac89bb3570fb9c737bd92663890a (patch)
treedcb2f8aa28d33ecc9314afbe51420c290677f25b /xapian
parent33899d1f966490d5093c86f12125d9399d6aa0fe (diff)
downloadguile-xapian-0e4677e095c8ac89bb3570fb9c737bd92663890a.tar.gz
guile-xapian-0e4677e095c8ac89bb3570fb9c737bd92663890a.tar.lz
guile-xapian-0e4677e095c8ac89bb3570fb9c737bd92663890a.zip
xapian: Reorder incorrect order of arguments to mset-snippet.
* xapian/xapian.scm (mset-sxml-snippet): Reorder arguments passed to mset-snippet.
Diffstat (limited to 'xapian')
-rw-r--r--xapian/xapian.scm2
1 files changed, 1 insertions, 1 deletions
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.