aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/custom.el
diff options
context:
space:
mode:
authorRichard M. Stallman2005-04-13 17:39:00 +0000
committerRichard M. Stallman2005-04-13 17:39:00 +0000
commit9c27debdf0aaece2a0d2c76cdbb477331f2e3c93 (patch)
tree45cace693927ae1ac163a0b07ba1ea1ffe4a64a3 /lisp/custom.el
parent5c156fdfc3b735bee202478e689097102e27a842 (diff)
downloademacs-9c27debdf0aaece2a0d2c76cdbb477331f2e3c93.tar.gz
emacs-9c27debdf0aaece2a0d2c76cdbb477331f2e3c93.zip
(defface): Doc fix.
Diffstat (limited to 'lisp/custom.el')
-rw-r--r--lisp/custom.el26
1 files changed, 18 insertions, 8 deletions
diff --git a/lisp/custom.el b/lisp/custom.el
index 019fdb79b38..f3cbd1404e9 100644
--- a/lisp/custom.el
+++ b/lisp/custom.el
@@ -287,9 +287,18 @@ The following KEYWORDs are defined:
287 287
288SPEC should be an alist of the form ((DISPLAY ATTS)...). 288SPEC should be an alist of the form ((DISPLAY ATTS)...).
289 289
290The first element of SPEC where the DISPLAY matches the frame 290In the first element, DISPLAY can be :default. The ATTS in that
291is the one that takes effect in that frame. The ATTRs in this 291element then act as defaults for all the following elements.
292element take effect; the other elements are ignored, on that frame. 292
293Aside from that, DISPLAY specifies conditions to match some or
294all frames. For each frame, the first element of SPEC where the
295DISPLAY conditions are satisfied is the one that applies to that
296frame. The ATTRs in this element take effect, and the following
297elements are ignored, on that frame.
298
299In the last element, DISPLAY can be t. That element applies to a
300frame if none of the previous elements (except the :default if
301any) did.
293 302
294ATTS is a list of face attributes followed by their values: 303ATTS is a list of face attributes followed by their values:
295 (ATTR VALUE ATTR VALUE...) 304 (ATTR VALUE ATTR VALUE...)
@@ -298,11 +307,12 @@ The possible attributes are `:family', `:width', `:height', `:weight',
298`:slant', `:underline', `:overline', `:strike-through', `:box', 307`:slant', `:underline', `:overline', `:strike-through', `:box',
299`:foreground', `:background', `:stipple', `:inverse-video', and `:inherit'. 308`:foreground', `:background', `:stipple', `:inverse-video', and `:inherit'.
300 309
301DISPLAY can either be the symbol t, which will match all frames, or an 310DISPLAY can be `:default' (only in the first element), the symbol
302alist of elements of the form \(REQ ITEM...). For the DISPLAY to match a 311t (only in the last element) to match all frames, or an alist of
303FRAME, each of these elements must be satisfied, meaning that the 312conditions of the form \(REQ ITEM...). For such an alist to
304REQ property of the frame must match one of the corresponding ITEMs. 313match a frame, each of the conditions must be satisfied, meaning
305These are the defined REQ values: 314that the REQ property of the frame must match one of the
315corresponding ITEMs. These are the defined REQ values:
306 316
307`type' (the value of `window-system') 317`type' (the value of `window-system')
308 Under X, in addition to the values `window-system' can take, 318 Under X, in addition to the values `window-system' can take,