aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2008-10-21 12:18:16 +0000
committerEli Zaretskii2008-10-21 12:18:16 +0000
commitb3d50cffbd29d451fab160f691eed135f84a5b4b (patch)
tree8eca5bf83306d1ab847be77c17e58cd483d965e8
parent73b7530a7eac4ac26ec5f81b8e8727fec23a4402 (diff)
downloademacs-b3d50cffbd29d451fab160f691eed135f84a5b4b.tar.gz
emacs-b3d50cffbd29d451fab160f691eed135f84a5b4b.zip
(Attribute Functions): Document `face-all-attributes'.
-rw-r--r--doc/lispref/ChangeLog2
-rw-r--r--doc/lispref/display.texi9
-rw-r--r--etc/NEWS2
3 files changed, 13 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index d1148eef101..a9ca8b7858c 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,5 +1,7 @@
12008-10-21 Eli Zaretskii <eliz@gnu.org> 12008-10-21 Eli Zaretskii <eliz@gnu.org>
2 2
3 * display.texi (Attribute Functions): Document `face-all-attributes'.
4
3 * frames.texi (Color Names): Add an xref to `read-color'. 5 * frames.texi (Color Names): Add an xref to `read-color'.
4 6
5 * minibuf.texi (High-Level Completion): Document `read-color'. 7 * minibuf.texi (High-Level Completion): Document `read-color'.
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index a8e8e531e30..983f7443240 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -2217,6 +2217,15 @@ For example:
2217@end example 2217@end example
2218@end defun 2218@end defun
2219 2219
2220@defun face-all-attributes face &optional frame
2221This function returns an alist of attributes of @var{face}. The
2222elements of the result are name-value pairs of the form
2223@w{@code{(@var{attr-name} . @var{attr-value})}}. Optional argument
2224@var{frame} specifies the frame whose definition of @var{face} to
2225return; if omitted or @code{nil}, the returned value describes the
2226default attributes of @var{face} for newly created frames.
2227@end defun
2228
2220@defun merge-face-attribute attribute value1 value2 2229@defun merge-face-attribute attribute value1 value2
2221If @var{value1} is a relative value for the face attribute 2230If @var{value1} is a relative value for the face attribute
2222@var{attribute}, returns it merged with the underlying value 2231@var{attribute}, returns it merged with the underlying value
diff --git a/etc/NEWS b/etc/NEWS
index a0e611e28ee..0db2ec48c48 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1595,9 +1595,11 @@ useful for modes such as tar-mode, archive-mode, RMAIL.
1595+++ 1595+++
1596*** `read-color' reads a color name using the minibuffer. 1596*** `read-color' reads a color name using the minibuffer.
1597 1597
1598+++
1598*** `face-all-attributes' returns an alist describing all the basic 1599*** `face-all-attributes' returns an alist describing all the basic
1599attributes of a given face. 1600attributes of a given face.
1600 1601
1602+++
1601*** `window-full-width-p' returns t if a window is as wide as its 1603*** `window-full-width-p' returns t if a window is as wide as its
1602frame. 1604frame.
1603 1605