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

    Avoid warning if x-gtk-resize-child-frames is missing
    
    Sync with minad/corfu@3d447e5b719017b40fc9e462175dd955c591c3c6.
---
 corfu-doc.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/corfu-doc.el b/corfu-doc.el
index 9ce62e5039..22a5400bef 100644
--- a/corfu-doc.el
+++ b/corfu-doc.el
@@ -123,6 +123,7 @@ If this is nil, do not resize corfu doc frame 
automatically."
     buffer))
 
 ;; Function adapted from corfu.el by Daniel Mendler
+(defvar x-gtk-resize-child-frames) ;; Not present on non-gtk builds
 (defun corfu-doc--make-frame (content)
   "Make child frame with CONTENT."
   (let* ((window-min-height 1)

Reply via email to