From: Miles Bader Date: Sat, 26 Aug 2000 05:58:27 +0000 (+0000) Subject: Add description of new :inherit face attribute, and additional legal X-Git-Tag: emacs-pretest-21.0.90~1964 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=787345ff6f8a0eb037d178d2b6a67488345cc445;p=emacs.git Add description of new :inherit face attribute, and additional legal values for the :height attribute. --- diff --git a/etc/NEWS b/etc/NEWS index 51564b28126..60d37eed722 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -2587,8 +2587,10 @@ It must be one of the symbols `ultra-condensed', `extra-condensed', `:height' -VALUE must be an integer specifying the height of the font to use in -1/10 pt. +VALUE must be either an integer specifying the height of the font to use +in 1/10 pt, a floating point number specifying the amount by which to +scale any underlying face, or a function, which is called with the old +height (from the underlying face), and should return the new height. `:weight' @@ -2678,6 +2680,12 @@ must be t or nil in that case. A value of `unspecified' is not allowed." Please see also the documentation of `set-face-attribute' and `defface'. +`:inherit' + +VALUE is the name of a face from which to inherit attributes, or a list +of face names. Attributes from inherited faces are merged into the face +like an underlying face would be, with higher priority than underlying faces. + *** Face attributes and X resources The following X resource names can be used to set face attributes