# HG changeset patch # User Juri Linkov # Date 1124744791 0 # Node ID 408e294257abb575c789a97aaecdf49d9db58dc7 # Parent 462eb3df5c58b84d0db8c189f9806ce293c585f3 (Attribute Functions): Add set-face-inverse-video-p. Fix invert-face. Fix args of face-background. diff -r 462eb3df5c58 -r 408e294257ab lispref/display.texi --- a/lispref/display.texi Mon Aug 22 20:47:49 2005 +0000 +++ b/lispref/display.texi Mon Aug 22 21:06:31 2005 +0000 @@ -2288,10 +2288,14 @@ 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 @@ 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.