[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/display.texi,v
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/display.texi,v |
Date: |
Mon, 31 Jul 2006 18:32:16 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Richard M. Stallman <rms> 06/07/31 18:32:16
Index: display.texi
===================================================================
RCS file: /cvsroot/emacs/emacs/lispref/display.texi,v
retrieving revision 1.238
retrieving revision 1.239
diff -u -b -r1.238 -r1.239
--- display.texi 29 Jul 2006 02:26:45 -0000 1.238
+++ display.texi 31 Jul 2006 18:32:16 -0000 1.239
@@ -2048,10 +2048,8 @@
@node Attribute Functions
@subsection Face Attribute Functions
- You can modify the attributes of an existing face with the following
-functions. If you specify @var{frame}, they affect just that frame;
-otherwise, they affect all frames as well as the defaults that apply to
-new frames.
+ This section describes the functions for accessing and modifying the
+attributes of an existing face.
@defun set-face-attribute face frame &rest arguments
This function sets one or more attributes of face @var{face} for frame
@@ -2074,10 +2072,12 @@
sets the attributes @code{:width}, @code{:weight} and @code{:underline}
to the corresponding values.
-If @var{frame} is @code{t}, this function sets the attributes for all
-existing frames, and sets defaults that will apply for new frames.
-Default attribute values specified this way override the
address@hidden for newly created frames.
+If @var{frame} is @code{t}, this function sets the default attributes
+for new frames. Default attribute values specified this way override
+the @code{defface} for newly created frames.
+
+If @var{frame} is @code{nil}, this function sets the attributes for
+all existing frames, and the default for new frames.
@end defun
@defun face-attribute face attribute &optional frame inherit
@@ -2142,6 +2142,8 @@
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.
+They use values of @code{t} and @code{nil} for @var{frame}
+just like @code{set-face-attribute} and @code{face-attribute}.
@defun set-face-foreground face color &optional frame
@defunx set-face-background face color &optional frame
@@ -2198,9 +2200,10 @@
@end defun
These functions examine the attributes of a face. If you don't
-specify @var{frame}, they refer to the default data for new frames.
-They return the symbol @code{unspecified} if the face doesn't define any
-value for that attribute.
+specify @var{frame}, they refer to the selected frame; @code{t} refers
+to the default data for new frames. They return the symbol
address@hidden if the face doesn't define any value for that
+attribute.
@defun face-foreground face &optional frame inherit
@defunx face-background face &optional frame inherit
- [Emacs-diffs] Changes to emacs/lispref/display.texi,v, (continued)
- [Emacs-diffs] Changes to emacs/lispref/display.texi,v, Richard M. Stallman, 2006/07/08
- [Emacs-diffs] Changes to emacs/lispref/display.texi,v, Richard M. Stallman, 2006/07/09
- [Emacs-diffs] Changes to emacs/lispref/display.texi,v, Nick Roberts, 2006/07/09
- [Emacs-diffs] Changes to emacs/lispref/display.texi,v, Kim F. Storm, 2006/07/10
- [Emacs-diffs] Changes to emacs/lispref/display.texi,v, Nick Roberts, 2006/07/13
- [Emacs-diffs] Changes to emacs/lispref/display.texi,v, Richard M. Stallman, 2006/07/17
- [Emacs-diffs] Changes to emacs/lispref/display.texi,v, Kim F. Storm, 2006/07/18
- [Emacs-diffs] Changes to emacs/lispref/display.texi,v, Richard M. Stallman, 2006/07/18
- [Emacs-diffs] Changes to emacs/lispref/display.texi,v, Kim F. Storm, 2006/07/21
- [Emacs-diffs] Changes to emacs/lispref/display.texi,v, Richard M. Stallman, 2006/07/28
- [Emacs-diffs] Changes to emacs/lispref/display.texi,v,
Richard M. Stallman <=