diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-06-13 00:52:37 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-06-13 00:52:37 +0000 |
commit | 21cffb834a5936a12c408f2af9ba4c2e77b72073 (patch) | |
tree | 2e7bbc0b8428b7dd132d778488b672892f6551fa | |
parent | f9045d14d3d22d9a5b382b527a954a79d9b5b557 (diff) | |
download | emacs-21cffb834a5936a12c408f2af9ba4c2e77b72073.tar.gz |
Add make-face-bold/italic and unbold/unitalic.
-rw-r--r-- | lispref/display.texi | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/lispref/display.texi b/lispref/display.texi index ae91f450924..dfc7877d1c9 100644 --- a/lispref/display.texi +++ b/lispref/display.texi @@ -1006,6 +1006,38 @@ This function sets the font of face @var{face}. The argument @var{font} 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. |