emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/corfu 4787199889: Try another redisplay hack, defer the


From: ELPA Syncer
Subject: [elpa] externals/corfu 4787199889: Try another redisplay hack, defer the redisplay
Date: Wed, 26 Jan 2022 10:57:23 -0500 (EST)

branch: externals/corfu
commit 47871998890902ecd9148cb65f46c5d3ea3eed06
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@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

[Prev in Thread] Current Thread [Next in Thread]