diff options
| author | Eli Zaretskii | 2008-10-21 12:18:16 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2008-10-21 12:18:16 +0000 |
| commit | b3d50cffbd29d451fab160f691eed135f84a5b4b (patch) | |
| tree | 8eca5bf83306d1ab847be77c17e58cd483d965e8 | |
| parent | 73b7530a7eac4ac26ec5f81b8e8727fec23a4402 (diff) | |
| download | emacs-b3d50cffbd29d451fab160f691eed135f84a5b4b.tar.gz emacs-b3d50cffbd29d451fab160f691eed135f84a5b4b.zip | |
(Attribute Functions): Document `face-all-attributes'.
| -rw-r--r-- | doc/lispref/ChangeLog | 2 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 9 | ||||
| -rw-r--r-- | etc/NEWS | 2 |
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 @@ | |||
| 1 | 2008-10-21 Eli Zaretskii <eliz@gnu.org> | 1 | 2008-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 | ||
| 2221 | This function returns an alist of attributes of @var{face}. The | ||
| 2222 | elements 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 | ||
| 2225 | return; if omitted or @code{nil}, the returned value describes the | ||
| 2226 | default 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 |
| 2221 | If @var{value1} is a relative value for the face attribute | 2230 | If @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 |
| @@ -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 |
| 1599 | attributes of a given face. | 1600 | attributes 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 |
| 1602 | frame. | 1604 | frame. |
| 1603 | 1605 | ||