aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov <[email protected]>2005-08-22 21:07:19 +0000
committerJuri Linkov <[email protected]>2005-08-22 21:07:19 +0000
commit79a8defb56c30d9e5d718cc1a886fd1201f44cc5 (patch)
treefaddb68c28bbefe6dd26fbd1d8e1b41d33b854af
parent753d161b0fa178327493c373de9d8777240c28cd (diff)
(Attribute Functions): Add set-face-inverse-video-p.
Fix invert-face. Fix args of face-background.
-rw-r--r--lispref/ChangeLog5
-rw-r--r--lispref/display.texi12
2 files changed, 13 insertions, 4 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index 35ecdcc7e3..4b5196f91d 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,8 @@
+2005-08-22 Juri Linkov <[email protected]>
+
+ * display.texi (Attribute Functions): Add set-face-inverse-video-p.
+ Fix invert-face. Fix args of face-background.
+
2005-08-20 Alan Mackenzie <[email protected]>
* buffers.texi (The Buffer List): Clarify the manipulation of the
diff --git a/lispref/display.texi b/lispref/display.texi
index 8460edcc41..346a3f262b 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.