aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2005-11-20 15:24:27 +0000
committerChong Yidong2005-11-20 15:24:27 +0000
commita7b0a0e36ec59a34ba09ba6bbfbe0c1a297e0ea8 (patch)
tree970fcd0664d39bad5cf1896abe0790361aed1cd8
parentddbbc9cd3955017771bf28909bbae40483a69401 (diff)
downloademacs-a7b0a0e36ec59a34ba09ba6bbfbe0c1a297e0ea8.tar.gz
emacs-a7b0a0e36ec59a34ba09ba6bbfbe0c1a297e0ea8.zip
* faces.el: Revert 2005-11-17 change. :ignore-defface is now
handled automagically.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/faces.el16
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 @@
12005-11-20 Chong Yidong <cyd@stupidchicken.com>
2
3 * faces.el: Revert 2005-11-17 change. :ignore-defface is now
4 handled automagically.
5
12005-11-20 Juri Linkov <juri@jurta.org> 62005-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.
357If FRAME is t, report on the defaults for face FACE (for new frames). 357If FRAME is t, report on the defaults for face FACE (for new frames).
358If FRAME is omitted or nil, use the selected frame. 358If FRAME is omitted or nil, use the selected frame.
359 359
360If INHERIT is nil, only attributes directly defined by FACE are 360If 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.
363If INHERIT is non-nil, FACE's definition of ATTRIBUTE is merged with the 362If 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.
366If INHERIT is a face or a list of faces, then the result is further merged 365If 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
561attribute is changed on all frames). 560attribute is changed on all frames).
562 561
563ARGS must come in pairs ATTRIBUTE VALUE. ATTRIBUTE must be a valid 562ARGS must come in pairs ATTRIBUTE VALUE. ATTRIBUTE must be a valid
564face attribute name. 563face attribute name. All attributes can be set to `unspecified';
565 564this fact is not further mentioned below.
566Unless you're certain you know what you're doing, don't set an
567attribute to `unspecified' . To make a face ignore the attribute
568given in the defface spec, assign it the value `:ignore-defface'.
569You can do this for any attribute; this fact is not further
570mentioned below.
571 565
572The following attributes are recognized: 566The following attributes are recognized:
573 567