]> git.eshelyaron.com Git - emacs.git/commitdiff
(Attribute Functions): Add set-face-inverse-video-p.
authorJuri Linkov <juri@jurta.org>
Mon, 22 Aug 2005 21:07:19 +0000 (21:07 +0000)
committerJuri Linkov <juri@jurta.org>
Mon, 22 Aug 2005 21:07:19 +0000 (21:07 +0000)
Fix invert-face.  Fix args of face-background.

lispref/ChangeLog
lispref/display.texi

index 35ecdcc7e31191c30e5e246698f41c78b23c628b..4b5196f91ddef7778f0fe5c69ad9c1587f2708bd 100644 (file)
@@ -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
index 8460edcc414d865af163d5f5f7c25dca98911bbd..346a3f262bfe2766ce40fbfc7d50a3266e4e83b8 100644 (file)
@@ -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.