[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vertico a7e1f53dd1 4/4: Update docstrings
From: |
ELPA Syncer |
Subject: |
[elpa] externals/vertico a7e1f53dd1 4/4: Update docstrings |
Date: |
Tue, 7 Nov 2023 15:58:59 -0500 (EST) |
branch: externals/vertico
commit a7e1f53dd1e79f9102c3c03681d2e6980cd2cbb4
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Update docstrings
---
vertico.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/vertico.el b/vertico.el
index 71b2243a6d..91e39e4cbb 100644
--- a/vertico.el
+++ b/vertico.el
@@ -141,7 +141,7 @@ The value should lie between 0 and vertico-count/2."
"TAB" #'vertico-insert)
(defvar-local vertico--highlight #'identity
- "Deferred candidate highlighting function.")
+ "Lazy candidate highlighting function.")
(defvar-local vertico--history-hash nil
"History hash table and corresponding base string.")
@@ -270,7 +270,7 @@ The function is configured by BY, BSIZE, BINDEX, BPRED and
PRED."
list))
(defun vertico--filter-completions (&rest args)
- "Compute all completions for ARGS with deferred highlighting."
+ "Compute all completions for ARGS with lazy highlighting."
(defvar completion-lazy-hilit)
(defvar completion-lazy-hilit-fn)
(cl-letf* ((completion-lazy-hilit t)
@@ -286,7 +286,7 @@ The function is configured by BY, BSIZE, BINDEX, BPRED and
PRED."
(orig-flex (symbol-function
#'completion-flex-all-completions))
((symbol-function #'completion-flex-all-completions)
(lambda (&rest args)
- ;; Unfortunately for flex we have to undo the deferred
highlighting, since flex uses
+ ;; Unfortunately for flex we have to undo the lazy
highlighting, since flex uses
;; the completion-score for sorting, which is applied
during highlighting.
(cl-letf (((symbol-function
#'completion-pcm--hilit-commonality) orig-pcm))
(apply orig-flex args))))