diff options
| author | João Távora | 2026-02-13 11:26:09 +0000 |
|---|---|---|
| committer | João Távora | 2026-02-13 11:26:09 +0000 |
| commit | a30a688810af5695dbe17b7addf7bab8e37e1cc6 (patch) | |
| tree | ce75e7c08c8278eacbb15b7df75e907bd1dda0a1 | |
| parent | 99cded03775f74a4fd1ea34479278b8180002a88 (diff) | |
| download | emacs-feature/newflex2.tar.gz emacs-feature/newflex2.zip | |
; * src/minibuf.c (Fcompletion__flex_cost_gotoh): Tweak docstring.feature/newflex2
| -rw-r--r-- | src/minibuf.c | 9 |
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 | **/ |
| 2333 | DEFUN ("completion--flex-cost-gotoh", Fcompletion__flex_cost_gotoh, | 2333 | DEFUN ("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 |
| 2336 | Return nil if no match found, else return (COST . MATCHES) | 2336 | algorithm. Return nil if no match found, else return (COST . MATCHES) |
| 2337 | where COST is a fixnum (lower is better) and MATCHES is a list of match | 2337 | where COST is a fixnum (lower is better) and MATCHES is a list of the |
| 2338 | positions in STR. */) | 2338 | same length as PAT. Each i-th element is a FIXNUM indicating where in |
| 2339 | STR 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. */ |