summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2022-01-26 16:02:40 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2022-01-26 16:02:40 +0100
commit47871998890902ecd9148cb65f46c5d3ea3eed06 (patch)
tree377c9495182a0b3068359bf24b53a3540e4de9d7
parentd708e278712bb9f776cf9a031e5a6df21adc5dfa (diff)
Try another redisplay hack, defer the redisplay
-rw-r--r--corfu.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/corfu.el b/corfu.el
index 123e89d..788caf5 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