summaryrefslogtreecommitdiff
path: root/lisp/cus-start.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/cus-start.el')
-rw-r--r--lisp/cus-start.el2
1 files changed, 2 insertions, 0 deletions
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!