diff options
author | Juri Linkov <juri@jurta.org> | 2005-08-22 21:07:19 +0000 |
---|---|---|
committer | Juri Linkov <juri@jurta.org> | 2005-08-22 21:07:19 +0000 |
commit | 79a8defb56c30d9e5d718cc1a886fd1201f44cc5 (patch) | |
tree | faddb68c28bbefe6dd26fbd1d8e1b41d33b854af | |
parent | 753d161b0fa178327493c373de9d8777240c28cd (diff) | |
download | emacs-79a8defb56c30d9e5d718cc1a886fd1201f44cc5.tar.gz |
(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 @@ +2005-08-22 Juri Linkov <juri@jurta.org> + + * display.texi (Attribute Functions): Add set-face-inverse-video-p. + Fix invert-face. Fix args of face-background. + 2005-08-20 Alan Mackenzie <acm@muc.de> * 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}. Non-@code{nil} means do underline; @code{nil} means don't. @end defun +@defun set-face-inverse-video-p face inverse-video-p &optional frame +This function sets the @code{:inverse-video} attribute of face +@var{face}. +@end defun + @defun invert-face face &optional frame -This function inverts the @code{:inverse-video} attribute of face -@var{face}. If the attribute is @code{nil}, this function sets it to -@code{t}, and vice versa. +This function swaps the foreground and background colors of face +@var{face}. @end defun 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 value for that attribute. @defun face-foreground face &optional frame inherit -@defunx face-background face &optional frame +@defunx face-background face &optional frame inherit These functions return the foreground color (or background color, respectively) of face @var{face}, as a string. |