From: Eli Zaretskii Date: Mon, 11 Feb 2002 07:06:55 +0000 (+0000) Subject: Don't warn about "x-*" symbols when building a non-GUI version. X-Git-Tag: ttn-vms-21-2-B4~16735 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=197a09bf1b79d4523d16a29737527fedefc63190;p=emacs.git Don't warn about "x-*" symbols when building a non-GUI version. --- diff --git a/lisp/cus-start.el b/lisp/cus-start.el index fd41f44fd1d..0275624842a 100644 --- a/lisp/cus-start.el +++ b/lisp/cus-start.el @@ -284,6 +284,8 @@ (eq system-type 'ms-dos)) ((string-match "\\`w32-" (symbol-name symbol)) (eq system-type 'windows-nt)) + ((string-match "\\`x-" (symbol-name symbol)) + (fboundp 'x-create-frame)) (t t)))) (if (not (boundp symbol)) ;; If variables are removed from C code, give an error here!