diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2025-05-11 18:57:20 +0200 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2025-05-11 19:00:50 +0200 |
| commit | 51538f17f13aa926d59565d09bdb9b519eba82bd (patch) | |
| tree | d43680db287bf9a8c3f916d579814e9b09da6915 /corfu.el | |
| parent | 190aec96b1895b21d011ad8869ebaaf72f29ecf9 (diff) | |
Remove guard around corfu--recompute
Diffstat (limited to 'corfu.el')
| -rw-r--r-- | corfu.el | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -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) |
