[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/corfu c972e406af 2/3: Also defer redisplay
From: |
ELPA Syncer |
Subject: |
[elpa] externals/corfu c972e406af 2/3: Also defer redisplay |
Date: |
Fri, 3 Jun 2022 08:57:25 -0400 (EDT) |
branch: externals/corfu
commit c972e406af6e8658be8196d18aa312bbd6aaf7e1
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Also defer redisplay
---
corfu.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/corfu.el b/corfu.el
index 25dbfa231f..5152819fcf 100644
--- a/corfu.el
+++ b/corfu.el
@@ -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))