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

    corfu--protect: Simplify
---
 corfu.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/corfu.el b/corfu.el
index 1400465e1e..02fada9261 100644
--- a/corfu.el
+++ b/corfu.el
@@ -870,7 +870,7 @@ If an error occurs, the FUN is retried with 
`debug-on-error' enabled and
 the stack trace is shown in the *Messages* buffer."
   (when (or debug-on-error (condition-case nil
                                (progn (funcall fun) nil)
-                             ((debug error) t)))
+                             (error t)))
     (let ((debug-on-error t)
           (debugger #'corfu--debug))
       (condition-case nil

Reply via email to