summaryrefslogtreecommitdiff
path: root/lisp/faces.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2013-12-21 21:44:20 +0800
committerChong Yidong <cyd@gnu.org>2013-12-21 21:44:20 +0800
commitbacb0e7791b68b1b0a254c09910d666087a386b5 (patch)
tree4eeb4ddb5836ddcd08db09e2bcbedf4be1f2254e /lisp/faces.el
parentc2790aecc822314f5c1e5f28f76ada1572301eb3 (diff)
downloademacs-bacb0e7791b68b1b0a254c09910d666087a386b5.tar.gz
Doc fixes for face functions.
* faces.el (face-spec-set): * cus-face.el (custom-theme-set-faces, custom-set-faces): * custom.el (defface): Doc fixes. Fixes: debbugs:16203
Diffstat (limited to 'lisp/faces.el')
-rw-r--r--lisp/faces.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index 4d4d064a1fc..403cf8b1b9a 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -1576,7 +1576,11 @@ See `defface' for the format of SPEC.
The appearance of each face is controlled by its spec, and by the
internal face attributes (which can be frame-specific and can be
-set via `set-face-attribute').
+set via `set-face-attribute'). This function sets the former.
+
+In addition to setting the face spec, this function defines FACE
+as a valid face name if it is not already one, and (re)calculates
+the face's attributes on existing frames.
The argument SPEC-TYPE determines which spec to set:
nil or `face-override-spec' means the override spec (which is
@@ -1589,11 +1593,7 @@ The argument SPEC-TYPE determines which spec to set:
`reset' means to ignore SPEC, but clear the `customized-face'
and `face-override-spec' specs;
Any other value means not to set any spec, but to run the
-function for its other effects.
-
-In addition to setting the face spec, this function defines FACE
-as a valid face name if it is not already one, and (re)calculates
-the face's attributes on existing frames."
+function for its other effects."
(if (get face 'face-alias)
(setq face (get face 'face-alias)))
;; Save SPEC to the relevant symbol property.