aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2002-02-11 07:06:55 +0000
committerEli Zaretskii2002-02-11 07:06:55 +0000
commit197a09bf1b79d4523d16a29737527fedefc63190 (patch)
treea0ccbdcdd2f61b2b846931fd14c388083a0104dd
parenta81b56d56b509258b3a5422764e1878d694e1352 (diff)
downloademacs-197a09bf1b79d4523d16a29737527fedefc63190.tar.gz
emacs-197a09bf1b79d4523d16a29737527fedefc63190.zip
Don't warn about "x-*" symbols when building a non-GUI version.
-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 @@
284 (eq system-type 'ms-dos)) 284 (eq system-type 'ms-dos))
285 ((string-match "\\`w32-" (symbol-name symbol)) 285 ((string-match "\\`w32-" (symbol-name symbol))
286 (eq system-type 'windows-nt)) 286 (eq system-type 'windows-nt))
287 ((string-match "\\`x-" (symbol-name symbol))
288 (fboundp 'x-create-frame))
287 (t t)))) 289 (t t))))
288 (if (not (boundp symbol)) 290 (if (not (boundp symbol))
289 ;; If variables are removed from C code, give an error here! 291 ;; If variables are removed from C code, give an error here!