summaryrefslogtreecommitdiff
path: root/lisp/cus-start.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/cus-start.el')
-rw-r--r--lisp/cus-start.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/cus-start.el b/lisp/cus-start.el
index 9881012d949..73e1dff5a44 100644
--- a/lisp/cus-start.el
+++ b/lisp/cus-start.el
@@ -367,10 +367,7 @@ 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)
- (and window-system
- (not (eq window-system 'pc))
- (not (eq system-type 'windows-nt)))))
+ (featurep 'gtk))
((string-match "\\`x-" (symbol-name symbol))
(fboundp 'x-create-frame))
((string-match "selection" (symbol-name symbol))