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 **** [EMAIL PROTECTED] 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 ---- [EMAIL PROTECTED] 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/ _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel