Variable: corfu-history-duplicate

corfu-history-duplicate is a customizable variable defined in corfu-history.el.

Value

10

Documentation

History position shift for duplicate history elements.

The more often a duplicate element occurs in the history, the earlier it appears in the completion list. The shift decays exponentially with corfu-history-decay. Note that duplicates occur only if history-delete-duplicates is disabled.

Source Code

;; Defined in ~/.emacs.d/elpa/corfu-20260813.950/corfu-history.el
(defcustom corfu-history-duplicate 10
  "History position shift for duplicate history elements.
The more often a duplicate element occurs in the history, the earlier it
appears in the completion list.  The shift decays exponentially with
`corfu-history-decay'.  Note that duplicates occur only if
`history-delete-duplicates' is disabled."
  :type 'number
  :group 'corfu)