]> git.eshelyaron.com Git - sweep.git/commit
Improve module completion annotations
authorEshel Yaron <me@eshelyaron.com>
Tue, 27 Jun 2023 16:53:49 +0000 (19:53 +0300)
committerEshel Yaron <me@eshelyaron.com>
Tue, 27 Jun 2023 16:53:49 +0000 (19:53 +0300)
commiteb04f8414a19706e1267d3fc9dbd6c0396a9f798
treea73a098ec84236aec326236100067991bf76e9e0
parent43683b3ad782806d4312ba400b6dd79d94195f2e
Improve module completion annotations

* sweep.pl (sweep_known_module/1, sweep_is_module/2)
(sweep_module_description_/3, sweep_matching_module/3)
(sweep_module_annotation/2): New predicates.
(sweep_modules_collection/2): Adapt.

* sweeprolog.el (sweeprolog-module-completion-table)
(sweeprolog-module-p, sweeprolog-module-minibuffer-annotation)
(sweeprolog-module-annotation): New functions.
(sweeprolog-modules-collection)
(sweeprolog-read-module-name): Adapt.
(sweeprolog-find-module): Improve feedback for modules that are not
backed by files.
sweep.pl
sweeprolog.el