branch: externals/corfu
commit 76d7bceb2df85cccba6b95f1ace2bddc4eb294ed
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    Rename corfu-confirm to corfu-no-match
---
 corfu.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/corfu.el b/corfu.el
index eccc628..161e8a9 100644
--- a/corfu.el
+++ b/corfu.el
@@ -56,7 +56,7 @@
   "Enable cycling for `corfu-next' and `corfu-previous'."
   :type 'boolean)
 
-(defcustom corfu-confirm (propertize "No match" 'face 'italic)
+(defcustom corfu-no-match (propertize "No match" 'face 'italic)
   "Show this confirmation string if there is no match.
 Set to nil in order to disable confirmation."
   :type '(choice (const nil) string))
@@ -455,8 +455,8 @@ Set to nil in order to disable confirmation."
       (corfu--done str 'finished)
       nil)
      ((and (not corfu--candidates)                    ;; 4) There are no 
candidates
-           corfu-confirm)                             ;; &  Confirmation is 
enabled
-      (corfu--popup beg (list corfu-confirm))         ;; => Show confirmation 
popup
+           corfu-no-match)                            ;; &  Confirmation is 
enabled
+      (corfu--popup beg (list corfu-no-match))        ;; => Show confirmation 
popup
       t))))
 
 (defun corfu--pre-command-hook ()

Reply via email to