aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Távora2026-02-13 11:26:09 +0000
committerJoão Távora2026-02-13 11:26:09 +0000
commita30a688810af5695dbe17b7addf7bab8e37e1cc6 (patch)
treece75e7c08c8278eacbb15b7df75e907bd1dda0a1
parent99cded03775f74a4fd1ea34479278b8180002a88 (diff)
downloademacs-feature/newflex2.tar.gz
emacs-feature/newflex2.zip
; * src/minibuf.c (Fcompletion__flex_cost_gotoh): Tweak docstring.feature/newflex2
-rw-r--r--src/minibuf.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index 5e78958615e..e49663e2f86 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -2332,10 +2332,11 @@ init_minibuf_once_for_pdumper (void)
2332 **/ 2332 **/
2333DEFUN ("completion--flex-cost-gotoh", Fcompletion__flex_cost_gotoh, 2333DEFUN ("completion--flex-cost-gotoh", Fcompletion__flex_cost_gotoh,
2334 Scompletion__flex_cost_gotoh, 2, 2, 0, 2334 Scompletion__flex_cost_gotoh, 2, 2, 0,
2335 doc: /* Compute cost of PAT matching STR using modified Gotoh algorithm. 2335 doc: /* Compute cost of PAT matching STR using modified Gotoh
2336Return nil if no match found, else return (COST . MATCHES) 2336algorithm. Return nil if no match found, else return (COST . MATCHES)
2337where COST is a fixnum (lower is better) and MATCHES is a list of match 2337where COST is a fixnum (lower is better) and MATCHES is a list of the
2338positions in STR. */) 2338same length as PAT. Each i-th element is a FIXNUM indicating where in
2339STR the i-th character of PAT matched. */)
2339 (Lisp_Object pat, Lisp_Object str) 2340 (Lisp_Object pat, Lisp_Object str)
2340 { 2341 {
2341 /* Pre-allocated matrices for flex completion scoring. */ 2342 /* Pre-allocated matrices for flex completion scoring. */