comparison lispref/display.texi @ 45745:394a19fc134e

defface `supports' predicate
author Miles Bader <miles@gnu.org>
date Tue, 11 Jun 2002 01:50:36 +0000
parents dfabb11c1e1a
children 73b33fa2ec78
comparison
equal deleted inserted replaced
45744:75e9d527da2b 45745:394a19fc134e
1 @c -*-texinfo-*- 1 @c -*-texinfo-*-
2 @c This is part of the GNU Emacs Lisp Reference Manual. 2 @c This is part of the GNU Emacs Lisp Reference Manual.
3 @c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2000, 2001 3 @c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2000, 2001, 2002
4 @c Free Software Foundation, Inc. 4 @c Free Software Foundation, Inc.
5 @c See the file elisp.texi for copying conditions. 5 @c See the file elisp.texi for copying conditions.
6 @setfilename ../info/display 6 @setfilename ../info/display
7 @node Display, Calendar, Processes, Top 7 @node Display, Calendar, Processes, Top
8 @chapter Emacs Display 8 @chapter Emacs Display
1378 What kinds of colors the frame supports---either @code{color}, 1378 What kinds of colors the frame supports---either @code{color},
1379 @code{grayscale}, or @code{mono}. 1379 @code{grayscale}, or @code{mono}.
1380 1380
1381 @item background 1381 @item background
1382 The kind of background---either @code{light} or @code{dark}. 1382 The kind of background---either @code{light} or @code{dark}.
1383
1384 @item supports
1385 Whether or not the frame can display the face attributes (@pxref{Face
1386 Attributes}) given in @var{value}@dots{}. See the documentation for
1387 the function @code{display-supports-face-attributes-p} (@pxref{Display
1388 Face Attribute Testing}) for more information on exactly how this testing
1389 is done.
1383 @end table 1390 @end table
1384 1391
1385 If an element of @var{display} specifies more than one @var{value} for a 1392 If an element of @var{display} specifies more than one @var{value} for a
1386 given @var{characteristic}, any of those values is acceptable. If 1393 given @var{characteristic}, any of those values is acceptable. If
1387 @var{display} has more than one element, each element should specify a 1394 @var{display} has more than one element, each element should specify a