summaryrefslogtreecommitdiff
path: root/lisp/faces.el
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <larsi@gnus.org>2012-01-07 07:00:56 +0100
committerLars Magne Ingebrigtsen <larsi@gnus.org>2012-01-07 07:00:56 +0100
commit29232a68e057e6fe47508f24e2fe713ae0cfa0c3 (patch)
tree568973fea1a109f76fe94f7d644747bb9c7d13fc /lisp/faces.el
parent4e5d086de65e6cab4bf68339381da1bac2d01583 (diff)
downloademacs-29232a68e057e6fe47508f24e2fe713ae0cfa0c3.tar.gz
* faces.el (set-face-attribute): Clarify the meaning of the nil frame.
Fixes: debbugs:10294
Diffstat (limited to 'lisp/faces.el')
-rw-r--r--lisp/faces.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index 86c9c8a669e..5d406ad7c0b 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -557,9 +557,10 @@ If FACE is a face-alias, get the documentation for the target face."
(defun set-face-attribute (face frame &rest args)
"Set attributes of FACE on FRAME from ARGS.
-FRAME nil means change attributes on all frames. FRAME t means change
-the default for new frames (this is done automatically each time an
-attribute is changed on all frames).
+If FRAME is nil this function sets the attributes for all
+existing frames, and the default for new frames. If FRAME is t,
+change the default for new frames (this is done automatically
+each time an attribute is changed on all frames).
ARGS must come in pairs ATTRIBUTE VALUE. ATTRIBUTE must be a valid
face attribute name. All attributes can be set to `unspecified';