From: Richard M. Stallman Date: Sun, 9 Jul 2006 02:06:34 +0000 (+0000) Subject: (Attribute Functions): Move paragraph about compatibility with Emacs < 21. X-Git-Tag: emacs-pretest-22.0.90~1600 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0d93030da7b411307be0dbc8edce7e815964f4f6;p=emacs.git (Attribute Functions): Move paragraph about compatibility with Emacs < 21. --- 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, @end example @end defun - The functions above did not exist before Emacs 21. For compatibility -with older Emacs versions, you can use the following functions to set -and examine the face attributes which existed in those versions. - @defun face-attribute-relative-p attribute value This function returns non-@code{nil} if @var{value}, when used as the 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 face attribute @var{attribute}, returns @var{value1} unchanged. @end defun + The functions above did not exist before Emacs 21. For compatibility +with older Emacs versions, you can use the following functions to set +and examine the face attributes which existed in those versions. + @defun set-face-foreground face color &optional frame @defunx set-face-background face color &optional frame These functions set the foreground (or background, respectively) color