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

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

[elpa] externals/corfu-doc 91e66b0804 25/95: Avoid warning if x-gtk-resi


From: ELPA Syncer
Subject: [elpa] externals/corfu-doc 91e66b0804 25/95: Avoid warning if x-gtk-resize-child-frames is missing
Date: Tue, 19 Jul 2022 15:58:02 -0400 (EDT)

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

    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

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