From 79a8defb56c30d9e5d718cc1a886fd1201f44cc5 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Mon, 22 Aug 2005 21:07:19 +0000 Subject: [PATCH] (Attribute Functions): Add set-face-inverse-video-p. Fix invert-face. Fix args of face-background. --- lispref/ChangeLog | 5 +++++ 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 + + * display.texi (Attribute Functions): Add set-face-inverse-video-p. + Fix invert-face. Fix args of face-background. + 2005-08-20 Alan Mackenzie * 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. -- 2.11.4.GIT