branch: externals/vertico commit 22bfd5bb42d29aa016493878b9b61ae957b69778 Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@daniel-mendler.de>
Update commentary --- extensions/vertico-sort.el | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/extensions/vertico-sort.el b/extensions/vertico-sort.el index 260b5e2ad7..b48c5b1fdd 100644 --- a/extensions/vertico-sort.el +++ b/extensions/vertico-sort.el @@ -26,9 +26,12 @@ ;;; Commentary: -;; This package provides a set of sort functions for Vertico, which -;; can be used as `vertico-sort-function'. By default, Vertico uses -;; the `vertico-sort-history-length-alpha' function. +;; This package provides a set of sort functions for Vertico, which can be used +;; as `vertico-sort-function'. By default, Vertico uses the +;; `vertico-sort-history-length-alpha' function, which sorts first by history, +;; then by length and finally by character. If `history-delete-duplicates' is +;; nil, duplicate elements are ranked higher with exponential decay. In order +;; to save the history across Emacs sessions, enable `savehist-mode'. ;;; Code: