diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2021-11-12 13:20:08 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2021-11-12 13:29:43 +0100 |
| commit | 730aa01abb8a3463f9403030cbb90f1b1395a5b8 (patch) | |
| tree | 47f37b55025d9bc320165ef30b854fbe5b44c0c1 | |
| parent | c16e89f38d950d2517ffcf17c15787293fc14e3b (diff) | |
Only catch errors
| -rw-r--r-- | corfu.el | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -710,8 +710,8 @@ A scroll bar is displayed from LO to LO+BAR." (when (and continue (not (equal corfu--input (cons str pt)))) (corfu--update-candidates str pt table pred) nil) - (t (corfu-quit) - (message "Corfu completion error: %s" (error-message-string err))))) + (error (corfu-quit) + (message "Corfu completion error: %s" (error-message-string err))))) ;; 1) Initializing, no candidates => Show error message and quit ((and initializing (not corfu--candidates)) (funcall msg "No match") |
