[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mode line faces on ttys
From: |
Juri Linkov |
Subject: |
Re: Mode line faces on ttys |
Date: |
Wed, 17 Aug 2005 19:38:45 +0300 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
I've looked over the documentation of the functions that work with
the `:inverse-video' attribute in the Emacs Lisp Reference manual, and
I see that the documentation doesn't correspond to actual functions.
The description of `invert-face' is wrong, and `set-face-inverse-video-p'
is missing. I can install the following patch:
Index: lispref/display.texi
===================================================================
RCS file: /cvsroot/emacs/emacs/lispref/display.texi,v
retrieving revision 1.180
diff -c -r1.180 display.texi
*** lispref/display.texi 11 Aug 2005 19:59:05 -0000 1.180
--- lispref/display.texi 17 Aug 2005 16:21:53 -0000
***************
*** 2288,2297 ****
address@hidden means do underline; @code{nil} means don't.
@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.
@end defun
These functions examine the attributes of a face. If you don't
--- 2156,2169 ----
address@hidden 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 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,2306 ****
value for that attribute.
@defun face-foreground face &optional frame inherit
! @defunx face-background face &optional frame
These functions return the foreground color (or background color,
respectively) of face @var{face}, as a string.
--- 2172,2178 ----
value for that attribute.
@defun face-foreground face &optional frame inherit
! @defunx face-background face &optional frame inherit
These functions return the foreground color (or background color,
respectively) of face @var{face}, as a string.
--
Juri Linkov
http://www.jurta.org/emacs/