branch: externals/corfu
commit cdd215dbb285021b1c55d5e25c6b7b39dde767c6
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    Ensure that frame buffer is set
---
 corfu.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/corfu.el b/corfu.el
index 1cbc51f..cb85ba5 100644
--- a/corfu.el
+++ b/corfu.el
@@ -228,9 +228,8 @@ Set to nil in order to disable confirmation."
                (minibuffer . nil)
                (visibility . nil)
                (no-special-glyphs . t))))
-      (set-window-buffer (frame-root-window corfu--frame) buffer)
-      (set-face-background 'internal-border (face-attribute 'corfu-border 
:background) corfu--frame)
-      (redraw-frame corfu--frame)) ;; force face loading?
+      (set-face-background 'internal-border (face-attribute 'corfu-border 
:background) corfu--frame)) ;; force face loading?
+    (set-window-buffer (frame-root-window corfu--frame) buffer)
     (set-frame-position corfu--frame x y)
     (set-frame-size corfu--frame width height t)
     (make-frame-visible corfu--frame)))

Reply via email to