aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-06-13 00:52:37 +0000
committerRichard M. Stallman1997-06-13 00:52:37 +0000
commit21cffb834a5936a12c408f2af9ba4c2e77b72073 (patch)
tree2e7bbc0b8428b7dd132d778488b672892f6551fa
parentf9045d14d3d22d9a5b382b527a954a79d9b5b557 (diff)
downloademacs-21cffb834a5936a12c408f2af9ba4c2e77b72073.tar.gz
emacs-21cffb834a5936a12c408f2af9ba4c2e77b72073.zip
Add make-face-bold/italic and unbold/unitalic.
-rw-r--r--lispref/display.texi32
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}
1006should be a string. 1006should be a string.
1007@end defun 1007@end defun
1008 1008
1009@defun make-face-bold face &optional frame noerror
1010Make face @var{face} bold, by setting its font to the bold variant of
1011the font it is now using. If @var{noerror} is non-@code{nil}, return
1012@code{nil} on failure; otherwise, that signals an error.
1013@end defun
1014
1015@defun make-face-italic face &optional frame noerror
1016Make face @var{face} italic, by setting its font to the italic variant of
1017the font it is now using. If @var{noerror} is non-@code{nil}, return
1018@code{nil} on failure; otherwise, that signals an error.
1019@end defun
1020
1021@defun make-face-bold-italic face &optional frame noerror
1022Make face @var{face} bold and italic, by setting its font to the bold
1023italic variant of the font it is now using. If @var{noerror} is
1024non-@code{nil}, return @code{nil} on failure; otherwise, that signals an
1025error.
1026@end defun
1027
1028@defun make-face-unbold face &optional frame noerror
1029Make face @var{face} not bold, by setting its font to the medium variant
1030of the font it is now using. If @var{noerror} is non-@code{nil}, return
1031@code{nil} on failure; otherwise, that signals an error.
1032@end defun
1033
1034@defun make-face-unitalic face &optional frame noerror
1035Make face @var{face} italic, by setting its font to the non-slanted
1036variant of the font it is now using. If @var{noerror} is
1037non-@code{nil}, return @code{nil} on failure; otherwise, that signals an
1038error.
1039@end defun
1040
1009@defun set-face-underline-p face underline-p &optional frame 1041@defun set-face-underline-p face underline-p &optional frame
1010This function sets the underline attribute of face @var{face}. 1042This function sets the underline attribute of face @var{face}.
1011Non-@code{nil} means do underline; @code{nil} means don't. 1043Non-@code{nil} means do underline; @code{nil} means don't.