From f8c64b0506bc6629c5aff95bcee02331980f2aba Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Mon, 16 Aug 2021 18:34:47 +0100 Subject: [PATCH] hmmm * 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. --- lisp/minibuffer.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index 2660c9d1a01..463f02ab1e3 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el @@ -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'." -- 2.39.2