branch: externals/corfu-doc
commit f89ddb7c65b284d06fac962f381d3f8ffd4345bc
Author: Yuwei Tian <[email protected]>
Commit: Yuwei Tian <[email protected]>

    Sync corfu's update on redisplay hack
---
 corfu-doc.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/corfu-doc.el b/corfu-doc.el
index a1407ff325..160e1904b2 100644
--- a/corfu-doc.el
+++ b/corfu-doc.el
@@ -170,7 +170,10 @@
       (make-frame-invisible corfu-doc--frame))
     (set-frame-position corfu-doc--frame x y)
     (set-frame-size corfu-doc--frame width height t)
-    (make-frame-visible corfu-doc--frame)))
+    (make-frame-visible corfu-doc--frame)
+    ;; HACK: Force redisplay, otherwise the popup somtimes
+    ;; does not display content.
+    (redisplay)))
 
 ;; Function adapted from corfu.el by Daniel Mendler
 (defun corfu-doc-fetch-documentation ()

Reply via email to