Commit 79a8defb authored by Juri Linkov's avatar Juri Linkov
Browse files

(Attribute Functions): Add set-face-inverse-video-p.

Fix invert-face.  Fix args of face-background.
parent 753d161b
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
......
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment