]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix last change.
authorEli Zaretskii <eliz@gnu.org>
Fri, 9 Sep 2005 16:24:25 +0000 (16:24 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 9 Sep 2005 16:24:25 +0000 (16:24 +0000)
lisp/cus-start.el

index c09e3152376889034c6cb699bc50065b2a7ffe20..d8ca2a77b58bd60c9ec18903f241226fecf87641 100644 (file)
@@ -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))