branch: externals/corfu
commit a921f7669e6f154fc8c0ecde9b94de0bf17cfbd0
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>
Change the redisplay hack
---
corfu.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/corfu.el b/corfu.el
index 788caf5b90..563bce92f7 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.
- (run-at-time 0 nil #'redisplay))
+ (run-at-time 0.01 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