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

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

[elpa] externals/corfu 6d81371db5: Move redisplay call


From: ELPA Syncer
Subject: [elpa] externals/corfu 6d81371db5: Move redisplay call
Date: Fri, 7 Jan 2022 16:57:23 -0500 (EST)

branch: externals/corfu
commit 6d81371db5c162c74a7971229f8029d5c60cf4a5
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Move redisplay call
---
 corfu.el | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/corfu.el b/corfu.el
index 47787c75cc..66ad2274da 100644
--- a/corfu.el
+++ b/corfu.el
@@ -424,10 +424,7 @@ The completion backend can override this with
       (make-frame-invisible corfu--frame))
     (set-frame-position corfu--frame x y)
     (set-frame-size corfu--frame width height t)
-    (make-frame-visible corfu--frame)
-    ;; HACK: Force redisplay, otherwise the popup somtimes
-    ;; does not display content.
-    (redisplay)))
+    (make-frame-visible corfu--frame)))
 
 (defun corfu--popup-show (pos off width lines &optional curr lo bar)
   "Show LINES as popup at POS - OFF.
@@ -809,7 +806,10 @@ there hasn't been any input, then quit."
      ((and corfu--candidates continue)
       (corfu--candidates-popup beg)
       (corfu--echo-documentation)
-      (corfu--preview-current beg end str))
+      (corfu--preview-current beg end str)
+      ;; HACK: Force redisplay, otherwise the popup somtimes
+      ;; does not display content.
+      (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



reply via email to

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