changeset 65073:408e294257ab

(Attribute Functions): Add set-face-inverse-video-p. Fix invert-face. Fix args of face-background.
author Juri Linkov <juri@jurta.org>
date Mon, 22 Aug 2005 21:06:31 +0000
parents 462eb3df5c58
children af480eaf5c50
files lispref/display.texi
diffstat 1 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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.