diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2022-11-20 03:48:46 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2022-11-20 03:48:46 +0100 |
| commit | 971de05df4749cb5e7eff0c051ef5cc4c0693537 (patch) | |
| tree | b32254ff9707352031f657d5c0e4b964d8b1f7e1 /extensions | |
| parent | aab6f7e34d7a65f060ba196cf1b1c62d6ceb9e43 (diff) | |
Fix corfu-echo and corfu-quick interaction (Fix #252)
Diffstat (limited to 'extensions')
| -rw-r--r-- | extensions/corfu-echo.el | 2 | ||||
| -rw-r--r-- | extensions/corfu-quick.el | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/extensions/corfu-echo.el b/extensions/corfu-echo.el index 30c89ec..feb7edb 100644 --- a/extensions/corfu-echo.el +++ b/extensions/corfu-echo.el @@ -67,7 +67,7 @@ floats to specify initial and subsequent delay." (cancel-timer corfu-echo--timer) (setq corfu-echo--timer nil)) (corfu-echo--show msg) - (unless corfu--echo-message + (unless corfu-echo--message (kill-local-variable 'corfu-echo--timer) (kill-local-variable 'corfu-echo--message))) diff --git a/extensions/corfu-quick.el b/extensions/corfu-quick.el index b3dbfc1..5f10a66 100644 --- a/extensions/corfu-quick.el +++ b/extensions/corfu-quick.el @@ -124,7 +124,8 @@ TWO is non-nil if two keys should be displayed." (defun corfu-quick-jump () "Jump to candidate using quick keys." (interactive) - (corfu--echo-cancel) + (when (fboundp 'corfu-echo--cancel) + (corfu-echo--cancel)) (if (= corfu--total 0) (and (message "No match") nil) (let ((idx (corfu-quick--read))) |
