diff options
| author | Chong Yidong | 2005-11-20 15:24:27 +0000 |
|---|---|---|
| committer | Chong Yidong | 2005-11-20 15:24:27 +0000 |
| commit | a7b0a0e36ec59a34ba09ba6bbfbe0c1a297e0ea8 (patch) | |
| tree | 970fcd0664d39bad5cf1896abe0790361aed1cd8 | |
| parent | ddbbc9cd3955017771bf28909bbae40483a69401 (diff) | |
| download | emacs-a7b0a0e36ec59a34ba09ba6bbfbe0c1a297e0ea8.tar.gz emacs-a7b0a0e36ec59a34ba09ba6bbfbe0c1a297e0ea8.zip | |
* faces.el: Revert 2005-11-17 change. :ignore-defface is now
handled automagically.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/faces.el | 16 |
2 files changed, 10 insertions, 11 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 76e7bad9fa7..cfb8872a937 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2005-11-20 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * faces.el: Revert 2005-11-17 change. :ignore-defface is now | ||
| 4 | handled automagically. | ||
| 5 | |||
| 1 | 2005-11-20 Juri Linkov <juri@jurta.org> | 6 | 2005-11-20 Juri Linkov <juri@jurta.org> |
| 2 | 7 | ||
| 3 | * simple.el (what-cursor-position): | 8 | * simple.el (what-cursor-position): |
diff --git a/lisp/faces.el b/lisp/faces.el index a60805e4301..acb91ad1ed1 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -357,12 +357,11 @@ If the optional argument FRAME is given, report on face FACE in that frame. | |||
| 357 | If FRAME is t, report on the defaults for face FACE (for new frames). | 357 | If FRAME is t, report on the defaults for face FACE (for new frames). |
| 358 | If FRAME is omitted or nil, use the selected frame. | 358 | If FRAME is omitted or nil, use the selected frame. |
| 359 | 359 | ||
| 360 | If INHERIT is nil, only attributes directly defined by FACE are | 360 | If INHERIT is nil, only attributes directly defined by FACE are considered, |
| 361 | considered, so the return value may be `unspecified', | 361 | so the return value may be `unspecified', or a relative value. |
| 362 | `:ignore-defface', or a relative value. | ||
| 363 | If INHERIT is non-nil, FACE's definition of ATTRIBUTE is merged with the | 362 | If INHERIT is non-nil, FACE's definition of ATTRIBUTE is merged with the |
| 364 | faces specified by its `:inherit' attribute; however the return value | 363 | faces specified by its `:inherit' attribute; however the return value |
| 365 | may still be relative. | 364 | may still be `unspecified' or relative. |
| 366 | If INHERIT is a face or a list of faces, then the result is further merged | 365 | If INHERIT is a face or a list of faces, then the result is further merged |
| 367 | with that face (or faces), until it becomes specified and absolute. | 366 | with that face (or faces), until it becomes specified and absolute. |
| 368 | 367 | ||
| @@ -561,13 +560,8 @@ the default for new frames (this is done automatically each time an | |||
| 561 | attribute is changed on all frames). | 560 | attribute is changed on all frames). |
| 562 | 561 | ||
| 563 | ARGS must come in pairs ATTRIBUTE VALUE. ATTRIBUTE must be a valid | 562 | ARGS must come in pairs ATTRIBUTE VALUE. ATTRIBUTE must be a valid |
| 564 | face attribute name. | 563 | face attribute name. All attributes can be set to `unspecified'; |
| 565 | 564 | this fact is not further mentioned below. | |
| 566 | Unless you're certain you know what you're doing, don't set an | ||
| 567 | attribute to `unspecified' . To make a face ignore the attribute | ||
| 568 | given in the defface spec, assign it the value `:ignore-defface'. | ||
| 569 | You can do this for any attribute; this fact is not further | ||
| 570 | mentioned below. | ||
| 571 | 565 | ||
| 572 | The following attributes are recognized: | 566 | The following attributes are recognized: |
| 573 | 567 | ||