aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2005-08-22 21:07:19 +0000
committerJuri Linkov2005-08-22 21:07:19 +0000
commit79a8defb56c30d9e5d718cc1a886fd1201f44cc5 (patch)
treefaddb68c28bbefe6dd26fbd1d8e1b41d33b854af
parent753d161b0fa178327493c373de9d8777240c28cd (diff)
downloademacs-79a8defb56c30d9e5d718cc1a886fd1201f44cc5.tar.gz
emacs-79a8defb56c30d9e5d718cc1a886fd1201f44cc5.zip
(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 35ecdcc7e31..4b5196f91dd 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,8 @@
12005-08-22 Juri Linkov <juri@jurta.org>
2
3 * display.texi (Attribute Functions): Add set-face-inverse-video-p.
4 Fix invert-face. Fix args of face-background.
5
12005-08-20 Alan Mackenzie <acm@muc.de> 62005-08-20 Alan Mackenzie <acm@muc.de>
2 7
3 * buffers.texi (The Buffer List): Clarify the manipulation of the 8 * 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}.
2288Non-@code{nil} means do underline; @code{nil} means don't. 2288Non-@code{nil} means do underline; @code{nil} means don't.
2289@end defun 2289@end defun
2290 2290
2291@defun set-face-inverse-video-p face inverse-video-p &optional frame
2292This function sets the @code{:inverse-video} attribute of face
2293@var{face}.
2294@end defun
2295
2291@defun invert-face face &optional frame 2296@defun invert-face face &optional frame
2292This function inverts the @code{:inverse-video} attribute of face 2297This function swaps the foreground and background colors of face
2293@var{face}. If the attribute is @code{nil}, this function sets it to 2298@var{face}.
2294@code{t}, and vice versa.
2295@end defun 2299@end defun
2296 2300
2297 These functions examine the attributes of a face. If you don't 2301 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
2300value for that attribute. 2304value for that attribute.
2301 2305
2302@defun face-foreground face &optional frame inherit 2306@defun face-foreground face &optional frame inherit
2303@defunx face-background face &optional frame 2307@defunx face-background face &optional frame inherit
2304These functions return the foreground color (or background color, 2308These functions return the foreground color (or background color,
2305respectively) of face @var{face}, as a string. 2309respectively) of face @var{face}, as a string.
2306 2310