aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2000-08-26 11:50:06 +0000
committerMiles Bader2000-08-26 11:50:06 +0000
commita0e5a5a49cf8dbfbafed3cf92202a4c0ac17fc60 (patch)
tree17f8664dfda77a099f32d39c3695605a064b91ce
parent6bca30057a98a81757525c4fe52aa6610314a57c (diff)
downloademacs-a0e5a5a49cf8dbfbafed3cf92202a4c0ac17fc60.tar.gz
emacs-a0e5a5a49cf8dbfbafed3cf92202a4c0ac17fc60.zip
(face-x-resources): Add entry for :inherit.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/faces.el3
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6766a049f21..3f87d0841d6 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,11 @@
12000-08-26 Miles Bader <miles@gnu.org> 12000-08-26 Miles Bader <miles@gnu.org>
2 2
3 * faces.el (face-x-resources): Add entry for :inherit.
4 * cus-face.el (custom-face-attributes): Add support for :inherit
5 attribute. Add support for relative face heights.
6 (custom-face-attributes-get): Treat `nil' as being a default value
7 for :inherit (as well as `unspecified').
8
3 * faces.el (set-face-attribute): Update doc string. 9 * faces.el (set-face-attribute): Update doc string.
4 (face-attribute-name-alist): Add :inherit. 10 (face-attribute-name-alist): Add :inherit.
5 (face-valid-attribute-values): Handle :inherit. 11 (face-valid-attribute-values): Handle :inherit.
diff --git a/lisp/faces.el b/lisp/faces.el
index c8d58621fd1..63a48e35891 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -267,7 +267,8 @@ If FRAME is omitted or nil, use the selected frame."
267 (".attributeBackgroundPixmap" . "Face.AttributeBackgroundPixmap")) 267 (".attributeBackgroundPixmap" . "Face.AttributeBackgroundPixmap"))
268 (:bold (".attributeBold" . "Face.AttributeBold")) 268 (:bold (".attributeBold" . "Face.AttributeBold"))
269 (:italic (".attributeItalic" . "Face.AttributeItalic")) 269 (:italic (".attributeItalic" . "Face.AttributeItalic"))
270 (:font (".attributeFont" . "Face.AttributeFont"))) 270 (:font (".attributeFont" . "Face.AttributeFont"))
271 (:inherit (".attributeInherit" . "Face.AttributeInherit")))
271 "*List of X resources and classes for face attributes. 272 "*List of X resources and classes for face attributes.
272Each element has the form (ATTRIBUTE ENTRY1 ENTRY2...) where ATTRIBUTE is 273Each element has the form (ATTRIBUTE ENTRY1 ENTRY2...) where ATTRIBUTE is
273the name of a face attribute, and each ENTRY is a cons of the form 274the name of a face attribute, and each ENTRY is a cons of the form