* lisp/minibuffer.el (completion--get-lazy-hilit-re):
(completion--flex-get-completion-score): New functions.
(completion--flex-adjust-metadata): Use
completion--flex-get-completion-score.
(completion-lazy-hilit): Use completion--get-lazy-hilit-re.
This commit is contained in:
João Távora 2021-08-16 18:34:47 +01:00
parent 19defe091d
commit f8c64b0506

View file

@ -3544,7 +3544,7 @@ advantage of this, look in the source of
(defvar completion--lazy-highlight-cache
(make-hash-table :weakness 'key))
(defvar completion--score-map (make-hash-table :size (obarray-size obarray)))
(defvar completion--score-map (make-hash-table :test 'eq))
(defun completion--get-lazy-hilit-re ()
"Helper for `completion-lazy-hilit'."