summaryrefslogtreecommitdiff
path: root/lisp/cus-start.el
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2005-09-11 22:21:01 +0000
committerMiles Bader <miles@gnu.org>2005-09-11 22:21:01 +0000
commitff8d296438e69b8cf701d95b6ccd271c416c46fd (patch)
tree44b388101b40592656ad4c5033aabe2a1ae4b462 /lisp/cus-start.el
parent389cb481135145b80a679beec8cdc8fed75682c5 (diff)
parenta8f6d239d2d541ec874a22000e0542c20fd55a67 (diff)
downloademacs-ff8d296438e69b8cf701d95b6ccd271c416c46fd.tar.gz
emacs-ff8d296438e69b8cf701d95b6ccd271c416c46fd.tar.bz2
emacs-ff8d296438e69b8cf701d95b6ccd271c416c46fd.zip
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-81
Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 532-541) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 112-115) - Update from CVS
Diffstat (limited to 'lisp/cus-start.el')
-rw-r--r--lisp/cus-start.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/cus-start.el b/lisp/cus-start.el
index 71565963e3d..87393e43ff7 100644
--- a/lisp/cus-start.el
+++ b/lisp/cus-start.el
@@ -369,9 +369,16 @@ since it could result in memory overflow and make Emacs crash."
((string-match "\\`w32-" (symbol-name symbol))
(eq system-type 'windows-nt))
((string-match "\\`x-.*gtk" (symbol-name symbol))
- (or (boundp 'gtk) (not (eq system-type 'windows-nt))))
+ (or (boundp 'gtk)
+ (and window-system
+ (not (eq window-system 'pc))
+ (not (eq system-type 'windows-nt)))))
((string-match "\\`x-" (symbol-name symbol))
(fboundp 'x-create-frame))
+ ((string-match "selection" (symbol-name symbol))
+ (fboundp 'x-selection-exists-p))
+ ((string-match "fringe" (symbol-name symbol))
+ (fboundp 'define-fringe-bitmap))
(t t))))
(if (not (boundp symbol))
;; If variables are removed from C code, give an error here!