diff options
| -rw-r--r-- | lispref/display.texi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lispref/display.texi b/lispref/display.texi index c57c795e58d..2354ad689f2 100644 --- a/lispref/display.texi +++ b/lispref/display.texi | |||
| @@ -2106,10 +2106,6 @@ For example, | |||
| 2106 | @end example | 2106 | @end example |
| 2107 | @end defun | 2107 | @end defun |
| 2108 | 2108 | ||
| 2109 | The functions above did not exist before Emacs 21. For compatibility | ||
| 2110 | with older Emacs versions, you can use the following functions to set | ||
| 2111 | and examine the face attributes which existed in those versions. | ||
| 2112 | |||
| 2113 | @defun face-attribute-relative-p attribute value | 2109 | @defun face-attribute-relative-p attribute value |
| 2114 | This function returns non-@code{nil} if @var{value}, when used as the | 2110 | This function returns non-@code{nil} if @var{value}, when used as the |
| 2115 | value of the face attribute @var{attribute}, is relative. This means | 2111 | value of the face attribute @var{attribute}, is relative. This means |
| @@ -2136,6 +2132,10 @@ If @var{value1} is a relative value for the face attribute | |||
| 2136 | face attribute @var{attribute}, returns @var{value1} unchanged. | 2132 | face attribute @var{attribute}, returns @var{value1} unchanged. |
| 2137 | @end defun | 2133 | @end defun |
| 2138 | 2134 | ||
| 2135 | The functions above did not exist before Emacs 21. For compatibility | ||
| 2136 | with older Emacs versions, you can use the following functions to set | ||
| 2137 | and examine the face attributes which existed in those versions. | ||
| 2138 | |||
| 2139 | @defun set-face-foreground face color &optional frame | 2139 | @defun set-face-foreground face color &optional frame |
| 2140 | @defunx set-face-background face color &optional frame | 2140 | @defunx set-face-background face color &optional frame |
| 2141 | These functions set the foreground (or background, respectively) color | 2141 | These functions set the foreground (or background, respectively) color |