diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2022-06-03 14:01:05 +0200 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2022-06-03 14:01:05 +0200 |
| commit | c972e406af6e8658be8196d18aa312bbd6aaf7e1 (patch) | |
| tree | 05b0e54531a1e3c1cbe8f49c93b4f67fe32e60db | |
| parent | b76e2e7fb7eb7d9415fd9dc72134fda048fecd46 (diff) | |
Also defer redisplay
| -rw-r--r-- | corfu.el | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -492,10 +492,10 @@ A scroll bar is displayed from LO to LO+BAR." (defun corfu--popup-hide () "Hide Corfu popup." (when (frame-live-p corfu--frame) - ;; Redisplay such that the input becomes immediately visible before the popup - ;; hiding, which is slow (Issue #48). See also corresponding vertico#89. - (redisplay) (run-at-time 0 nil (lambda () + ;; Redisplay such that the input becomes immediately visible before the popup + ;; hiding, which is slow (Issue #48). See also corresponding vertico#89. + (redisplay) (when (frame-live-p corfu--frame) (make-frame-invisible corfu--frame) (with-current-buffer (window-buffer (frame-root-window corfu--frame)) |
