diff options
Diffstat (limited to 'lisp/term')
-rw-r--r-- | lisp/term/w32-win.el | 2 | ||||
-rw-r--r-- | lisp/term/x-win.el | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lisp/term/w32-win.el b/lisp/term/w32-win.el index 5bff6c1111..849b0bd1a6 100644 --- a/lisp/term/w32-win.el +++ b/lisp/term/w32-win.el @@ -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)) diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index 6b13f14cbb..24a7da8708 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el @@ -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)) |