# HG changeset patch # User Eli Zaretskii # Date 1224591284 0 # Node ID 8860f1bf41c32a5d268a51562ad753f99b73bfda # Parent 52f8c8d92f96adea8f5e1d6a1f622e2bf0d50333 (Attribute Functions): Document `face-all-attributes'. diff -r 52f8c8d92f96 -r 8860f1bf41c3 doc/lispref/display.texi --- a/doc/lispref/display.texi Tue Oct 21 11:27:40 2008 +0000 +++ b/doc/lispref/display.texi Tue Oct 21 12:14:44 2008 +0000 @@ -2217,6 +2217,15 @@ @end example @end defun +@defun face-all-attributes face &optional frame +This function returns an alist of attributes of @var{face}. The +elements of the result are name-value pairs of the form +@w{@code{(@var{attr-name} . @var{attr-value})}}. Optional argument +@var{frame} specifies the frame whose definition of @var{face} to +return; if omitted or @code{nil}, the returned value describes the +default attributes of @var{face} for newly created frames. +@end defun + @defun merge-face-attribute attribute value1 value2 If @var{value1} is a relative value for the face attribute @var{attribute}, returns it merged with the underlying value