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

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

[elpa] externals/corfu dcb2999: Fix typos


From: ELPA Syncer
Subject: [elpa] externals/corfu dcb2999: Fix typos
Date: Mon, 9 Aug 2021 01:57:07 -0400 (EDT)

branch: externals/corfu
commit dcb299905721857d19ef741a246b7149026de8c1
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Fix typos
---
 corfu.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/corfu.el b/corfu.el
index 93dd68d..9d5403b 100644
--- a/corfu.el
+++ b/corfu.el
@@ -686,7 +686,7 @@ completion began less than that number of seconds ago."
 
 (defun corfu--pre-command ()
   "Insert selected candidate unless command is marked to continue completion."
-  (add-hook 'window-configuration-change-hook #'corfu--quit)
+  (add-hook 'window-configuration-change-hook #'corfu-quit)
   (unless (or (< corfu--index 0) (corfu--match-symbol-p 
corfu-continue-commands this-command))
     (if (if (functionp corfu-commit-predicate)
             (funcall corfu-commit-predicate)
@@ -696,7 +696,7 @@ completion began less than that number of seconds ago."
 
 (defun corfu--post-command ()
   "Refresh Corfu after last command."
-  (remove-hook 'window-configuration-change-hook #'corfu--quit)
+  (remove-hook 'window-configuration-change-hook #'corfu-quit)
   (or (pcase completion-in-region--data
         (`(,beg ,end ,_table ,_pred)
          (when (and (eq (marker-buffer beg) (current-buffer)) (<= beg (point) 
end))
@@ -867,7 +867,7 @@ completion began less than that number of seconds ago."
   ;; hiding, which is slow (Issue #48). See also corresponding vertico#89.
   (redisplay)
   (corfu--popup-hide)
-  (remove-hook 'window-configuration-change-hook #'corfu--quit)
+  (remove-hook 'window-configuration-change-hook #'corfu-quit)
   (remove-hook 'pre-command-hook #'corfu--pre-command 'local)
   (remove-hook 'post-command-hook #'corfu--post-command 'local)
   (when corfu--overlay (delete-overlay corfu--overlay))



reply via email to

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