# HG changeset patch # User Richard M. Stallman # Date 1113413940 0 # Node ID a4f9ea538274e136444bb5997dec709cfa451d0a # Parent c5ffd713f647d615b4aa48bbfd2f78c80e560b28 (defface): Doc fix. diff -r c5ffd713f647 -r a4f9ea538274 lisp/custom.el --- a/lisp/custom.el Wed Apr 13 10:07:09 2005 +0000 +++ b/lisp/custom.el Wed Apr 13 17:39:00 2005 +0000 @@ -287,9 +287,18 @@ SPEC should be an alist of the form ((DISPLAY ATTS)...). -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. +In the first element, DISPLAY can be :default. The ATTS in that +element then act as defaults for all the following elements. + +Aside from that, DISPLAY specifies conditions to match some or +all frames. For each frame, the first element of SPEC where the +DISPLAY conditions are satisfied is the one that applies to that +frame. The ATTRs in this element take effect, and the following +elements are ignored, on that frame. + +In the last element, DISPLAY can be t. That element applies to a +frame if none of the previous elements (except the :default if +any) did. ATTS is a list of face attributes followed by their values: (ATTR VALUE ATTR VALUE...) @@ -298,11 +307,12 @@ `:slant', `:underline', `:overline', `:strike-through', `:box', `:foreground', `:background', `:stipple', `:inverse-video', and `:inherit'. -DISPLAY can either be the symbol t, which will match all frames, or an -alist of elements of the form \(REQ ITEM...). For the DISPLAY to match a -FRAME, each of these elements must be satisfied, meaning that the -REQ property of the frame must match one of the corresponding ITEMs. -These are the defined REQ values: +DISPLAY can be `:default' (only in the first element), the symbol +t (only in the last element) to match all frames, or an alist of +conditions of the form \(REQ ITEM...). For such an alist to +match a frame, each of the conditions must be satisfied, meaning +that the REQ property of the frame must match one of the +corresponding ITEMs. These are the defined REQ values: `type' (the value of `window-system') Under X, in addition to the values `window-system' can take,