summaryrefslogtreecommitdiff
path: root/corfu.el
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2025-05-11 18:57:20 +0200
committerDaniel Mendler <mail@daniel-mendler.de>2025-05-11 19:00:50 +0200
commit51538f17f13aa926d59565d09bdb9b519eba82bd (patch)
treed43680db287bf9a8c3f916d579814e9b09da6915 /corfu.el
parent190aec96b1895b21d011ad8869ebaaf72f29ecf9 (diff)
Remove guard around corfu--recompute
Diffstat (limited to 'corfu.el')
-rw-r--r--corfu.el12
1 files changed, 3 insertions, 9 deletions
diff --git a/corfu.el b/corfu.el
index 0b617e4..541136b 100644
--- a/corfu.el
+++ b/corfu.el
@@ -706,15 +706,9 @@ FRAME is the existing frame."
;; Bind non-essential=t to prevent Tramp from opening new connections,
;; without the user explicitly requesting it via M-TAB.
(pcase (let ((non-essential t))
- ;; XXX Guard against errors during candidate generation.
- ;; bug#61274: `dabbrev-capf' signals errors.
- (condition-case err
- (if interruptible
- (while-no-input (corfu--recompute str pt table pred))
- (corfu--recompute str pt table pred))
- (error
- (message "Corfu completion error: %s" (error-message-string err))
- t)))
+ (if interruptible
+ (while-no-input (corfu--recompute str pt table pred))
+ (corfu--recompute str pt table pred)))
('nil (keyboard-quit))
((and state (pred consp))
(setq corfu--input input)