# HG changeset patch # User Richard M. Stallman # Date 1152410794 0 # Node ID cd88ff0d05f53a0937de7e7af7b4d46be872fefb # Parent 9f431e2269e4976956c287e7557b8030ad6c5357 (Attribute Functions): Move paragraph about compatibility with Emacs < 21. diff -r 9f431e2269e4 -r cd88ff0d05f5 lispref/display.texi --- a/lispref/display.texi Sun Jul 09 02:02:57 2006 +0000 +++ b/lispref/display.texi Sun Jul 09 02:06:34 2006 +0000 @@ -2106,10 +2106,6 @@ @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 @@ 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