[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/corfu 362d1f61df 4/4: Update docstrings
|
From: |
ELPA Syncer |
|
Subject: |
[elpa] externals/corfu 362d1f61df 4/4: Update docstrings |
|
Date: |
Tue, 7 Nov 2023 15:57:38 -0500 (EST) |
branch: externals/corfu
commit 362d1f61dfb4ab30c28db55745ace89fdb00e535
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Update docstrings
---
corfu.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/corfu.el b/corfu.el
index 0dc54cc1c6..6945ac8e49 100644
--- a/corfu.el
+++ b/corfu.el
@@ -266,7 +266,7 @@ the completion backend is costly."
"Length of the candidate list `corfu--candidates'.")
(defvar-local corfu--highlight #'identity
- "Deferred candidate highlighting function.")
+ "Lazy candidate highlighting function.")
(defvar-local corfu--index -1
"Index of current candidate or negative for prompt selection.")
@@ -521,7 +521,7 @@ FRAME is the existing frame."
list))
(defun corfu--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)
@@ -537,7 +537,7 @@ FRAME is the existing frame."
(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))))