emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/corfu 76d7bce 15/16: Rename corfu-confirm to corfu-no-m


From: Protesilaos Stavrou
Subject: [elpa] externals/corfu 76d7bce 15/16: Rename corfu-confirm to corfu-no-match
Date: Wed, 28 Apr 2021 14:20:04 -0400 (EDT)

branch: externals/corfu
commit 76d7bceb2df85cccba6b95f1ace2bddc4eb294ed
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@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

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