diff options
| author | Richard M. Stallman | 2005-04-13 17:39:00 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-04-13 17:39:00 +0000 |
| commit | 9c27debdf0aaece2a0d2c76cdbb477331f2e3c93 (patch) | |
| tree | 45cace693927ae1ac163a0b07ba1ea1ffe4a64a3 | |
| parent | 5c156fdfc3b735bee202478e689097102e27a842 (diff) | |
| download | emacs-9c27debdf0aaece2a0d2c76cdbb477331f2e3c93.tar.gz emacs-9c27debdf0aaece2a0d2c76cdbb477331f2e3c93.zip | |
(defface): Doc fix.
| -rw-r--r-- | lisp/custom.el | 26 |
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 | ||
| 288 | SPEC should be an alist of the form ((DISPLAY ATTS)...). | 288 | SPEC should be an alist of the form ((DISPLAY ATTS)...). |
| 289 | 289 | ||
| 290 | The first element of SPEC where the DISPLAY matches the frame | 290 | In the first element, DISPLAY can be :default. The ATTS in that |
| 291 | is the one that takes effect in that frame. The ATTRs in this | 291 | element then act as defaults for all the following elements. |
| 292 | element take effect; the other elements are ignored, on that frame. | 292 | |
| 293 | Aside from that, DISPLAY specifies conditions to match some or | ||
| 294 | all frames. For each frame, the first element of SPEC where the | ||
| 295 | DISPLAY conditions are satisfied is the one that applies to that | ||
| 296 | frame. The ATTRs in this element take effect, and the following | ||
| 297 | elements are ignored, on that frame. | ||
| 298 | |||
| 299 | In the last element, DISPLAY can be t. That element applies to a | ||
| 300 | frame if none of the previous elements (except the :default if | ||
| 301 | any) did. | ||
| 293 | 302 | ||
| 294 | ATTS is a list of face attributes followed by their values: | 303 | ATTS 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 | ||
| 301 | DISPLAY can either be the symbol t, which will match all frames, or an | 310 | DISPLAY can be `:default' (only in the first element), the symbol |
| 302 | alist of elements of the form \(REQ ITEM...). For the DISPLAY to match a | 311 | t (only in the last element) to match all frames, or an alist of |
| 303 | FRAME, each of these elements must be satisfied, meaning that the | 312 | conditions of the form \(REQ ITEM...). For such an alist to |
| 304 | REQ property of the frame must match one of the corresponding ITEMs. | 313 | match a frame, each of the conditions must be satisfied, meaning |
| 305 | These are the defined REQ values: | 314 | that the REQ property of the frame must match one of the |
| 315 | corresponding 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, |