]> git.eshelyaron.com Git - sweep.git/commit
Sort predicate completion candidates by functor length
authorEshel Yaron <me@eshelyaron.com>
Sun, 15 Oct 2023 10:37:36 +0000 (12:37 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sun, 15 Oct 2023 10:37:36 +0000 (12:37 +0200)
commit79b2bb3a8a72a10a7959093fb02ec3139b4cedf2
tree18fa1ef0f06e6d5031f4dd42b99789e20e05ac50
parent10b6f8fb9d98f94341fcd5623ed2991431ac4678
Sort predicate completion candidates by functor length

* sweeprolog.el (sweeprolog-predicate-completion-sort): New function.
(sweeprolog-predicate-completion-candidates): Use it as
`display-sort-function`.
sweeprolog.el