branch: externals/corfu commit 51538f17f13aa926d59565d09bdb9b519eba82bd Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@daniel-mendler.de>
Remove guard around corfu--recompute --- corfu.el | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/corfu.el b/corfu.el index 0b617e4033..541136bc05 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)