diff options
| author | Richard M. Stallman | 1997-06-13 00:52:37 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-06-13 00:52:37 +0000 |
| commit | 21cffb834a5936a12c408f2af9ba4c2e77b72073 (patch) | |
| tree | 2e7bbc0b8428b7dd132d778488b672892f6551fa | |
| parent | f9045d14d3d22d9a5b382b527a954a79d9b5b557 (diff) | |
| download | emacs-21cffb834a5936a12c408f2af9ba4c2e77b72073.tar.gz emacs-21cffb834a5936a12c408f2af9ba4c2e77b72073.zip | |
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} | |||
| 1006 | should be a string. | 1006 | should be a string. |
| 1007 | @end defun | 1007 | @end defun |
| 1008 | 1008 | ||
| 1009 | @defun make-face-bold face &optional frame noerror | ||
| 1010 | Make face @var{face} bold, by setting its font to the bold variant of | ||
| 1011 | the 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 | ||
| 1016 | Make face @var{face} italic, by setting its font to the italic variant of | ||
| 1017 | the 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 | ||
| 1022 | Make face @var{face} bold and italic, by setting its font to the bold | ||
| 1023 | italic variant of the font it is now using. If @var{noerror} is | ||
| 1024 | non-@code{nil}, return @code{nil} on failure; otherwise, that signals an | ||
| 1025 | error. | ||
| 1026 | @end defun | ||
| 1027 | |||
| 1028 | @defun make-face-unbold face &optional frame noerror | ||
| 1029 | Make face @var{face} not bold, by setting its font to the medium variant | ||
| 1030 | of 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 | ||
| 1035 | Make face @var{face} italic, by setting its font to the non-slanted | ||
| 1036 | variant of the font it is now using. If @var{noerror} is | ||
| 1037 | non-@code{nil}, return @code{nil} on failure; otherwise, that signals an | ||
| 1038 | error. | ||
| 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 |
| 1010 | This function sets the underline attribute of face @var{face}. | 1042 | This function sets the underline attribute of face @var{face}. |
| 1011 | Non-@code{nil} means do underline; @code{nil} means don't. | 1043 | Non-@code{nil} means do underline; @code{nil} means don't. |