branch: externals/corfu
commit 47871998890902ecd9148cb65f46c5d3ea3eed06
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    Try another redisplay hack, defer the redisplay
---
 corfu.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/corfu.el b/corfu.el
index 123e89de69..788caf5b90 100644
--- a/corfu.el
+++ b/corfu.el
@@ -813,7 +813,7 @@ there hasn't been any input, then quit."
       (corfu--echo-documentation)
       (corfu--preview-current beg end str)
       ;; XXX HACK: Force redisplay, otherwise the popup sometimes does not 
display content.
-      (redisplay))
+      (run-at-time 0 nil #'redisplay))
      ;; 4) There are no candidates & corfu-quit-no-match => Confirmation popup
      ((not (or corfu--candidates
                ;; When `corfu-quit-no-match' is a number of seconds and the 
auto completion wasn't

Reply via email to