aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Távora2021-08-16 18:34:47 +0100
committerJoão Távora2021-08-16 19:11:32 +0100
commitf8c64b0506bc6629c5aff95bcee02331980f2aba (patch)
tree971fc992a39ba87779ef866a9adb4d12f09cb838
parent19defe091d46002431ca37f5218cdc0521fff506 (diff)
downloademacs-scratch/icomplete-lazy-highlight-no-string-props.tar.gz
emacs-scratch/icomplete-lazy-highlight-no-string-props.zip
* 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.
-rw-r--r--lisp/minibuffer.el2
1 files changed, 1 insertions, 1 deletions
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
3544(defvar completion--lazy-highlight-cache 3544(defvar completion--lazy-highlight-cache
3545 (make-hash-table :weakness 'key)) 3545 (make-hash-table :weakness 'key))
3546 3546
3547(defvar completion--score-map (make-hash-table :size (obarray-size obarray))) 3547(defvar completion--score-map (make-hash-table :test 'eq))
3548 3548
3549(defun completion--get-lazy-hilit-re () 3549(defun completion--get-lazy-hilit-re ()
3550 "Helper for `completion-lazy-hilit'." 3550 "Helper for `completion-lazy-hilit'."