aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2005-11-18 02:25:24 +0000
committerChong Yidong2005-11-18 02:25:24 +0000
commitfbe8d00750649d0df10023d0bebd06c9aec3248d (patch)
treec6ef0c0094a771eddd860baac53a3c6f4e415913
parent2ff10663846ffc1b994504361767cf1435379026 (diff)
downloademacs-fbe8d00750649d0df10023d0bebd06c9aec3248d.tar.gz
emacs-fbe8d00750649d0df10023d0bebd06c9aec3248d.zip
* faces.el (face-attribute, set-face-attribute): Mention existence
of `:ignore-defface' setting in docstring.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/faces.el16
2 files changed, 16 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4f748d561cc..03ba7c9ed18 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12005-11-17 Chong Yidong <cyd@stupidchicken.com>
2
3 * faces.el (face-attribute, set-face-attribute): Mention existence
4 of `:ignore-defface' setting in docstring.
5
12005-11-17 Stefan Monnier <monnier@iro.umontreal.ca> 62005-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2 7
3 * simple.el (completion-setup-function): Fix last change. 8 * simple.el (completion-setup-function): Fix last change.
diff --git a/lisp/faces.el b/lisp/faces.el
index 85d8e882f22..a60805e4301 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -357,11 +357,12 @@ 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 considered, 360If INHERIT is nil, only attributes directly defined by FACE are
361 so the return value may be `unspecified', or a relative value. 361 considered, so the return value may be `unspecified',
362 `:ignore-defface', or a relative value.
362If INHERIT is non-nil, FACE's definition of ATTRIBUTE is merged with the 363If INHERIT is non-nil, FACE's definition of ATTRIBUTE is merged with the
363 faces specified by its `:inherit' attribute; however the return value 364 faces specified by its `:inherit' attribute; however the return value
364 may still be `unspecified' or relative. 365 may still be relative.
365If INHERIT is a face or a list of faces, then the result is further merged 366If INHERIT is a face or a list of faces, then the result is further merged
366 with that face (or faces), until it becomes specified and absolute. 367 with that face (or faces), until it becomes specified and absolute.
367 368
@@ -560,8 +561,13 @@ the default for new frames (this is done automatically each time an
560attribute is changed on all frames). 561attribute is changed on all frames).
561 562
562ARGS must come in pairs ATTRIBUTE VALUE. ATTRIBUTE must be a valid 563ARGS must come in pairs ATTRIBUTE VALUE. ATTRIBUTE must be a valid
563face attribute name. All attributes can be set to `unspecified'; 564face attribute name.
564this fact is not further mentioned below. 565
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.
565 571
566The following attributes are recognized: 572The following attributes are recognized:
567 573