From 0d3fa4f4f8ab5f0b8324f1065629f30d4dbf6875 Mon Sep 17 00:00:00 2001 From: Daniel Mendler Date: Tue, 27 May 2025 20:12:18 +0200 Subject: Use fboundp check to avoid package-lint warning --- corfu.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corfu.el b/corfu.el index f1424cc..4923647 100644 --- a/corfu.el +++ b/corfu.el @@ -867,7 +867,7 @@ the last command must be listed in `corfu-continue-commands'." "Protect FUN such that errors are caught. If an error occurs, the FUN is retried with `debug-on-error' enabled and the stack trace is shown in the *Messages* buffer." - (static-if (>= emacs-major-version 30) + (static-if (fboundp 'handler-bind) ;; Available on Emacs 30 (ignore-errors (handler-bind ((error #'corfu--debug)) (funcall fun))) -- cgit v1.0