changeset 65403:4b9f048f9a7e

Fix last change.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 09 Sep 2005 16:24:25 +0000
parents 873aa2fb049c
children b50dda01c73d 46dfd959d88a
files lisp/cus-start.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/cus-start.el	Fri Sep 09 16:22:11 2005 +0000
+++ b/lisp/cus-start.el	Fri Sep 09 16:24:25 2005 +0000
@@ -367,7 +367,8 @@
 		       (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))