[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/racket-mode 26c05316da 5/8: Improve comment
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/racket-mode 26c05316da 5/8: Improve comment |
Date: |
Fri, 22 Nov 2024 19:00:44 -0500 (EST) |
branch: elpa/racket-mode
commit 26c05316dabd99d58eb4a56aaada0839f48fb8e6
Author: Greg Hendershott <git@greghendershott.com>
Commit: Greg Hendershott <git@greghendershott.com>
Improve comment
Also move it above function it was describing.
---
racket/scribble.rkt | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/racket/scribble.rkt b/racket/scribble.rkt
index a6d50897ac..2af4eaf2f1 100644
--- a/racket/scribble.rkt
+++ b/racket/scribble.rkt
@@ -121,6 +121,9 @@
(refresh-doc-index!))
(trie-find doc-index-trie-root prefix limit))
+;; Find values for all nodes for which `prefix` is an exact match, and
+;; up to `limit` nodes for which `prefix` is an initial match.
+;; Oriented toward producing completion candidates.
(define (trie-find root prefix limit)
(match (string->list prefix)
[(list)
@@ -144,8 +147,6 @@
(find! sub more)]))
(set->list results)]))
-;; Find values for all nodes for which `prefix` is an exact full or
-;; prefix match -- for use producing completion candidates.
(define (trie-add! root str value)
(let add! ([n root]
[chs (string->list str)])
- [nongnu] elpa/racket-mode updated (c5bee6895b -> 09f5019321), ELPA Syncer, 2024/11/22
- [nongnu] elpa/racket-mode b54ada52d7 1/8: Change xref var to get-xref function; delete xref-ready-evt, ELPA Syncer, 2024/11/22
- [nongnu] elpa/racket-mode 09f5019321 8/8: racket--describe-search-parse-result: Simplify regexp matching, ELPA Syncer, 2024/11/22
- [nongnu] elpa/racket-mode 26c05316da 5/8: Improve comment,
ELPA Syncer <=
- [nongnu] elpa/racket-mode 5259e37f9a 6/8: Re-implement doc index trie with more basic data structures, ELPA Syncer, 2024/11/22
- [nongnu] elpa/racket-mode 46728bbbd3 2/8: Fix bug where only path, no anchor, ELPA Syncer, 2024/11/22
- [nongnu] elpa/racket-mode b9a5874fde 4/8: Simplify "from" for documentation items, ELPA Syncer, 2024/11/22
- [nongnu] elpa/racket-mode 4cf572eb6d 3/8: Show term for "from" when module/lang/reader, ELPA Syncer, 2024/11/22
- [nongnu] elpa/racket-mode 5d63fef7c8 7/8: racket-describe-search: No longer show pkg names, ELPA Syncer, 2024/11/22