emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scratch/icomplete-lazy-highlight-no-string-props f8c64b0 3/3: hmmm


From: João Távora
Subject: scratch/icomplete-lazy-highlight-no-string-props f8c64b0 3/3: hmmm
Date: Mon, 16 Aug 2021 14:18:43 -0400 (EDT)

branch: scratch/icomplete-lazy-highlight-no-string-props
commit f8c64b0506bc6629c5aff95bcee02331980f2aba
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>

    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 2660c9d..463f02a 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'."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]