summaryrefslogtreecommitdiff
path: root/lisp/custom.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-05-25 22:01:44 +0000
committerRichard M. Stallman <rms@gnu.org>1997-05-25 22:01:44 +0000
commitaafc86d21d5957621358af13bdfae332ddaa6913 (patch)
tree62b3c154421e3520b5abe6ed18a592b63c12e756 /lisp/custom.el
parent5e4447f1e4e96efdf44d7d78b932bfe467ccc1e4 (diff)
downloademacs-aafc86d21d5957621358af13bdfae332ddaa6913.tar.gz
(defface): Doc fix.
Diffstat (limited to 'lisp/custom.el')
-rw-r--r--lisp/custom.el21
1 files changed, 12 insertions, 9 deletions
diff --git a/lisp/custom.el b/lisp/custom.el
index 7c872e04052..5db6caa655f 100644
--- a/lisp/custom.el
+++ b/lisp/custom.el
@@ -203,23 +203,26 @@ The remaining arguments should have the form
[KEYWORD VALUE]...
-The following KEYWORD's are defined:
+The following KEYWORDs are defined:
:group VALUE should be a customization group.
Add FACE to that group.
SPEC should be an alist of the form ((DISPLAY ATTS)...).
-ATTS is a list of face attributes and their values. The possible
-attributes are defined in the variable `custom-face-attributes'.
+The first element of SPEC where the DISPLAY matches the frame
+is the one that takes effect in that frame. The ATTRs in this
+element take effect; the other elements are ignored, on that frame.
-The ATTS of the first entry in SPEC where the DISPLAY matches the
-frame should take effect in that frame. DISPLAY can either be the
-symbol t, which will match all frames, or an alist of the form
-\((REQ ITEM...)...)
+ATTS is a list of face attributes followed by their values:
+ (ATTR VALUE ATTR VALUE...)
+The possible attributes are `:bold', `:italic', `:underline',
+`:foreground', `:background', `:stipple' and `:inverse-video'.
-For the DISPLAY to match a FRAME, the REQ property of the frame must
-match one of the ITEM. The following REQ are defined:
+DISPLAY can either be the symbol t, which will match all frames, or an
+alist of the form \((REQ ITEM...)...). For the DISPLAY to match a
+FRAME, the REQ property of the frame must match one of the ITEM. The
+following REQ are defined:
`type' (the value of `window-system')
Should be one of `x' or `tty'.