diff options
Diffstat (limited to 'lisp/faces.el')
| -rw-r--r-- | lisp/faces.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/faces.el b/lisp/faces.el index c4b86b5b402..828cbf860d9 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -1576,7 +1576,8 @@ If there is neither a user setting nor a default for FACE, return nil." | |||
| 1576 | "Return a list of colors supported for a particular frame. | 1576 | "Return a list of colors supported for a particular frame. |
| 1577 | The argument FRAME specifies which frame to try. | 1577 | The argument FRAME specifies which frame to try. |
| 1578 | The value may be different for frames on different display types. | 1578 | The value may be different for frames on different display types. |
| 1579 | If FRAME doesn't support colors, the value is nil." | 1579 | If FRAME doesn't support colors, the value is nil. |
| 1580 | If FRAME is nil, that stands for the selected frame." | ||
| 1580 | (if (memq (framep (or frame (selected-frame))) '(x w32 mac)) | 1581 | (if (memq (framep (or frame (selected-frame))) '(x w32 mac)) |
| 1581 | (xw-defined-colors frame) | 1582 | (xw-defined-colors frame) |
| 1582 | (mapcar 'car (tty-color-alist frame)))) | 1583 | (mapcar 'car (tty-color-alist frame)))) |