From a921f7669e6f154fc8c0ecde9b94de0bf17cfbd0 Mon Sep 17 00:00:00 2001 From: Daniel Mendler Date: Wed, 26 Jan 2022 21:13:33 +0100 Subject: Change the redisplay hack --- corfu.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corfu.el b/corfu.el index 788caf5..563bce9 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 -- cgit v1.0