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

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

[elpa] externals/corfu-doc f89ddb7c65 12/95: Sync corfu's update on redi


From: ELPA Syncer
Subject: [elpa] externals/corfu-doc f89ddb7c65 12/95: Sync corfu's update on redisplay hack
Date: Tue, 19 Jul 2022 15:58:00 -0400 (EDT)

branch: externals/corfu-doc
commit f89ddb7c65b284d06fac962f381d3f8ffd4345bc
Author: Yuwei Tian <ibluefocus@outlook.com>
Commit: Yuwei Tian <ibluefocus@outlook.com>

    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

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