# HG changeset patch # User Eli Zaretskii # Date 1118663616 0 # Node ID fe5c9ccf867cc95b4dd9cc96dd8127fa5eba1ef0 # Parent 2a644add69536983e72133dded27b0a535dc5a9f (all): Don't complain about missing GTK-related variables, unless either `gtk' is boundp or this isn't a `windows-nt' build. diff -r 2a644add6953 -r fe5c9ccf867c lisp/cus-start.el --- a/lisp/cus-start.el Mon Jun 13 11:24:32 2005 +0000 +++ b/lisp/cus-start.el Mon Jun 13 11:53:36 2005 +0000 @@ -322,6 +322,8 @@ (eq system-type 'ms-dos)) ((string-match "\\`w32-" (symbol-name symbol)) (eq system-type 'windows-nt)) + ((string-match "\\`x-.*gtk" (symbol-name symbol)) + (or (boundp 'gtk) (not (eq system-type 'windows-nt)))) ((string-match "\\`x-" (symbol-name symbol)) (fboundp 'x-create-frame)) (t t))))