changeset 98972:8860f1bf41c3

(Attribute Functions): Document `face-all-attributes'.
author Eli Zaretskii <eliz@gnu.org>
date Tue, 21 Oct 2008 12:14:44 +0000
parents 52f8c8d92f96
children 4604df28ddb5
files doc/lispref/display.texi
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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