summaryrefslogtreecommitdiff
path: root/corfu.el
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2025-05-27 20:12:18 +0200
committerDaniel Mendler <mail@daniel-mendler.de>2025-05-27 20:12:18 +0200
commit0d3fa4f4f8ab5f0b8324f1065629f30d4dbf6875 (patch)
treeb10bd64aa1c0493c127b3ac3ed01a91773fc15d4 /corfu.el
parent7185f01296c2599b1ebc6eb326ccc14f95c7a131 (diff)
Use fboundp check to avoid package-lint warning
Diffstat (limited to 'corfu.el')
-rw-r--r--corfu.el2
1 files changed, 1 insertions, 1 deletions
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)))