diff lisp/cus-start.el @ 43235:19bef4fcdae8

Don't warn about "x-*" symbols when building a non-GUI version.
author Eli Zaretskii <eliz@gnu.org>
date Mon, 11 Feb 2002 07:06:55 +0000
parents 6b161ffa5ef3
children 62ca366c7991
line wrap: on
line diff
--- a/lisp/cus-start.el	Mon Feb 11 06:25:53 2002 +0000
+++ b/lisp/cus-start.el	Mon Feb 11 07:06:55 2002 +0000
@@ -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!