]> code.delx.au - gnu-emacs/commitdiff
(xw-defined-colors): Call color-supported-p,
authorEli Zaretskii <eliz@gnu.org>
Mon, 3 Jan 2000 11:58:12 +0000 (11:58 +0000)
committerEli Zaretskii <eliz@gnu.org>
Mon, 3 Jan 2000 11:58:12 +0000 (11:58 +0000)
the new name of face-color-supported-p.

lisp/term/w32-win.el
lisp/term/x-win.el

index 5bff6c111175a1b17b897dbd2c9e4d7e9978ba2a..849b0bd1a63b7aca39b249530c72f9301a6c0fcb 100644 (file)
@@ -528,7 +528,7 @@ This returns ARGS with the arguments that have been processed removed."
     (while all-colors
       (setq this-color (car all-colors)
            all-colors (cdr all-colors))
-      (and (face-color-supported-p frame this-color t)
+      (and (color-supported-p this-color frame t)
           (setq defined-colors (cons this-color defined-colors))))
     defined-colors))
 \f
index 6b13f14cbb89e12a8e0ce4c5da734e6a4e1cc26a..24a7da8708a125172dac6507929dbdd56cf82ef8 100644 (file)
@@ -437,7 +437,7 @@ This function returns ARGS minus the arguments that have been processed."
     (while all-colors
       (setq this-color (car all-colors)
            all-colors (cdr all-colors))
-      (and (face-color-supported-p frame this-color t)
+      (and (color-supported-p this-color frame t)
           (setq defined-colors (cons this-color defined-colors))))
     defined-colors))
 \f