diff options
author | Eli Zaretskii <eliz@gnu.org> | 2005-09-09 16:24:25 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2005-09-09 16:24:25 +0000 |
commit | 0649a03c3108c648fdd65e6dc6f29f6f0de91891 (patch) | |
tree | a8b7a5ee70276d6965848055abbe458c4b722499 /lisp/cus-start.el | |
parent | e72377724fdfc791b021ea1ffcf4cd9fdacb048b (diff) | |
download | emacs-0649a03c3108c648fdd65e6dc6f29f6f0de91891.tar.gz |
Fix last change.
Diffstat (limited to 'lisp/cus-start.el')
-rw-r--r-- | lisp/cus-start.el | 3 |
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)) |