changeset 6873:086e14489073

(make-face-x-resource-internal): Don't mess with terminal frames.
author Richard M. Stallman <rms@gnu.org>
date Thu, 14 Apr 1994 09:31:18 +0000
parents 7c12310c8b86
children 12dcd89cfd88
files lisp/faces.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/faces.el	Thu Apr 14 09:06:25 1994 +0000
+++ b/lisp/faces.el	Thu Apr 14 09:31:18 1994 +0000
@@ -238,8 +238,9 @@
   (cond ((null frame)
 	 (let ((frames (frame-list)))
 	   (while frames
-	     (make-face-x-resource-internal (face-name face)
-					    (car frames) set-anyway)
+	     (if (eq (framep (car frames)) 'x)
+		 (make-face-x-resource-internal (face-name face)
+						(car frames) set-anyway))
 	     (setq frames (cdr frames)))))
 	(t
 	 (setq face (internal-get-face (face-name face) frame))