diff options
| author | Juri Linkov | 2005-08-22 21:07:19 +0000 |
|---|---|---|
| committer | Juri Linkov | 2005-08-22 21:07:19 +0000 |
| commit | 79a8defb56c30d9e5d718cc1a886fd1201f44cc5 (patch) | |
| tree | faddb68c28bbefe6dd26fbd1d8e1b41d33b854af | |
| parent | 753d161b0fa178327493c373de9d8777240c28cd (diff) | |
| download | emacs-79a8defb56c30d9e5d718cc1a886fd1201f44cc5.tar.gz emacs-79a8defb56c30d9e5d718cc1a886fd1201f44cc5.zip | |
(Attribute Functions): Add set-face-inverse-video-p.
Fix invert-face. Fix args of face-background.
| -rw-r--r-- | lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | lispref/display.texi | 12 |
2 files changed, 13 insertions, 4 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog index 35ecdcc7e31..4b5196f91dd 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2005-08-22 Juri Linkov <juri@jurta.org> | ||
| 2 | |||
| 3 | * display.texi (Attribute Functions): Add set-face-inverse-video-p. | ||
| 4 | Fix invert-face. Fix args of face-background. | ||
| 5 | |||
| 1 | 2005-08-20 Alan Mackenzie <acm@muc.de> | 6 | 2005-08-20 Alan Mackenzie <acm@muc.de> |
| 2 | 7 | ||
| 3 | * buffers.texi (The Buffer List): Clarify the manipulation of the | 8 | * buffers.texi (The Buffer List): Clarify the manipulation of the |
diff --git a/lispref/display.texi b/lispref/display.texi index 8460edcc414..346a3f262bf 100644 --- a/lispref/display.texi +++ b/lispref/display.texi | |||
| @@ -2288,10 +2288,14 @@ This function sets the underline attribute of face @var{face}. | |||
| 2288 | Non-@code{nil} means do underline; @code{nil} means don't. | 2288 | Non-@code{nil} means do underline; @code{nil} means don't. |
| 2289 | @end defun | 2289 | @end defun |
| 2290 | 2290 | ||
| 2291 | @defun set-face-inverse-video-p face inverse-video-p &optional frame | ||
| 2292 | This function sets the @code{:inverse-video} attribute of face | ||
| 2293 | @var{face}. | ||
| 2294 | @end defun | ||
| 2295 | |||
| 2291 | @defun invert-face face &optional frame | 2296 | @defun invert-face face &optional frame |
| 2292 | This function inverts the @code{:inverse-video} attribute of face | 2297 | This function swaps the foreground and background colors of face |
| 2293 | @var{face}. If the attribute is @code{nil}, this function sets it to | 2298 | @var{face}. |
| 2294 | @code{t}, and vice versa. | ||
| 2295 | @end defun | 2299 | @end defun |
| 2296 | 2300 | ||
| 2297 | These functions examine the attributes of a face. If you don't | 2301 | These functions examine the attributes of a face. If you don't |
| @@ -2300,7 +2304,7 @@ They return the symbol @code{unspecified} if the face doesn't define any | |||
| 2300 | value for that attribute. | 2304 | value for that attribute. |
| 2301 | 2305 | ||
| 2302 | @defun face-foreground face &optional frame inherit | 2306 | @defun face-foreground face &optional frame inherit |
| 2303 | @defunx face-background face &optional frame | 2307 | @defunx face-background face &optional frame inherit |
| 2304 | These functions return the foreground color (or background color, | 2308 | These functions return the foreground color (or background color, |
| 2305 | respectively) of face @var{face}, as a string. | 2309 | respectively) of face @var{face}, as a string. |
| 2306 | 2310 | ||