# HG changeset patch # User Richard M. Stallman # Date 866163157 0 # Node ID 2e66f4ee4ca8c83121d47566260b8f662a3b3221 # Parent c1e30dd29cb107476d78a7bc9015df7042e9190a Add make-face-bold/italic and unbold/unitalic. diff -r c1e30dd29cb1 -r 2e66f4ee4ca8 lispref/display.texi --- a/lispref/display.texi Fri Jun 13 00:51:01 1997 +0000 +++ b/lispref/display.texi Fri Jun 13 00:52:37 1997 +0000 @@ -1006,6 +1006,38 @@ should be a string. @end defun +@defun make-face-bold face &optional frame noerror +Make face @var{face} bold, by setting its font to the bold variant of +the font it is now using. If @var{noerror} is non-@code{nil}, return +@code{nil} on failure; otherwise, that signals an error. +@end defun + +@defun make-face-italic face &optional frame noerror +Make face @var{face} italic, by setting its font to the italic variant of +the font it is now using. If @var{noerror} is non-@code{nil}, return +@code{nil} on failure; otherwise, that signals an error. +@end defun + +@defun make-face-bold-italic face &optional frame noerror +Make face @var{face} bold and italic, by setting its font to the bold +italic variant of the font it is now using. If @var{noerror} is +non-@code{nil}, return @code{nil} on failure; otherwise, that signals an +error. +@end defun + +@defun make-face-unbold face &optional frame noerror +Make face @var{face} not bold, by setting its font to the medium variant +of the font it is now using. If @var{noerror} is non-@code{nil}, return +@code{nil} on failure; otherwise, that signals an error. +@end defun + +@defun make-face-unitalic face &optional frame noerror +Make face @var{face} italic, by setting its font to the non-slanted +variant of the font it is now using. If @var{noerror} is +non-@code{nil}, return @code{nil} on failure; otherwise, that signals an +error. +@end defun + @defun set-face-underline-p face underline-p &optional frame This function sets the underline attribute of face @var{face}. Non-@code{nil} means do underline; @code{nil} means don't.