Mercurial > emacs
comparison src/xfaces.c @ 47471:8ed65bf4ee3d
(Fcolor_supported_p): Just one arg is required.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 13 Sep 2002 19:35:08 +0000 |
parents | 71e205b50a3e |
children | e620377a0596 |
comparison
equal
deleted
inserted
replaced
47470:344fed0ec431 | 47471:8ed65bf4ee3d |
---|---|
1572 return face_color_gray_p (f, SDATA (color)) ? Qt : Qnil; | 1572 return face_color_gray_p (f, SDATA (color)) ? Qt : Qnil; |
1573 } | 1573 } |
1574 | 1574 |
1575 | 1575 |
1576 DEFUN ("color-supported-p", Fcolor_supported_p, | 1576 DEFUN ("color-supported-p", Fcolor_supported_p, |
1577 Scolor_supported_p, 2, 3, 0, | 1577 Scolor_supported_p, 1, 3, 0, |
1578 doc: /* Return non-nil if COLOR can be displayed on FRAME. | 1578 doc: /* Return non-nil if COLOR can be displayed on FRAME. |
1579 BACKGROUND-P non-nil means COLOR is used as a background. | 1579 BACKGROUND-P non-nil means COLOR is used as a background. |
1580 If FRAME is nil or omitted, use the selected frame. | 1580 If FRAME is nil or omitted, use the selected frame. |
1581 COLOR must be a valid color name. */) | 1581 COLOR must be a valid color name. */) |
1582 (color, frame, background_p) | 1582 (color, frame, background_p) |