summaryrefslogtreecommitdiff
path: root/lisp/cus-start.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2005-09-09 16:24:25 +0000
committerEli Zaretskii <eliz@gnu.org>2005-09-09 16:24:25 +0000
commit0649a03c3108c648fdd65e6dc6f29f6f0de91891 (patch)
treea8b7a5ee70276d6965848055abbe458c4b722499 /lisp/cus-start.el
parente72377724fdfc791b021ea1ffcf4cd9fdacb048b (diff)
downloademacs-0649a03c3108c648fdd65e6dc6f29f6f0de91891.tar.gz
Fix last change.
Diffstat (limited to 'lisp/cus-start.el')
-rw-r--r--lisp/cus-start.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/cus-start.el b/lisp/cus-start.el
index c09e3152376..d8ca2a77b58 100644
--- a/lisp/cus-start.el
+++ b/lisp/cus-start.el
@@ -367,7 +367,8 @@ since it could result in memory overflow and make Emacs crash."
(eq system-type 'windows-nt))
((string-match "\\`x-.*gtk" (symbol-name symbol))
(or (boundp 'gtk)
- (and (display-graphic-p)
+ (and window-system
+ (not (eq window-system 'pc))
(not (eq system-type 'windows-nt)))))
((string-match "\\`x-" (symbol-name symbol))
(fboundp 'x-create-frame))