[Top][All Lists]

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

[elpa] externals/corfu 730aa01 4/5: Only catch errors

From: ELPA Syncer
Subject: [elpa] externals/corfu 730aa01 4/5: Only catch errors
Date: Fri, 12 Nov 2021 07:57:13 -0500 (EST)

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

    Only catch errors
 corfu.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/corfu.el b/corfu.el
index c728d83..24be468 100644
--- a/corfu.el
+++ b/corfu.el
@@ -710,8 +710,8 @@ A scroll bar is displayed from LO to LO+BAR."
           (when (and continue (not (equal corfu--input (cons str pt))))
             (corfu--update-candidates str pt table pred)
-        (t (corfu-quit)
-           (message "Corfu completion error: %s" (error-message-string err)))))
+        (error (corfu-quit)
+               (message "Corfu completion error: %s" (error-message-string 
      ;; 1) Initializing, no candidates => Show error message and quit
      ((and initializing (not corfu--candidates))
       (funcall msg "No match")

reply via email to

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