summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/info.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/info.el b/lisp/info.el
index dfe842c0583..d2c0c669500 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -1486,7 +1486,7 @@ Advanced commands:
(make-local-variable 'Info-tag-table-marker)
(make-local-variable 'Info-history)
(make-local-variable 'Info-index-alternatives)
- (if (fboundp 'make-face)
+ (if (eq (framep (selected-frame)) 'x)
(progn
(make-face 'info-node)
(make-face 'info-menu-5)