aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/faces.el
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2011-02-05 14:30:14 -0800
committerGlenn Morris <[email protected]>2011-02-05 14:30:14 -0800
commit233ba4d924933cb56129bd7511e6137b7c0b8e3e (patch)
tree741044a058b02f007a55e1fdbe8ac480feba0ada /lisp/faces.el
parent827b77e90f4f3a86abfc82a07a8319f5f4cfb3d3 (diff)
parenta60287ff994ec4d07779128f0df5500bed1b3cf9 (diff)
Merge from emacs-23; up to 2010-05-26T14:19:[email protected].
Diffstat (limited to 'lisp/faces.el')
-rw-r--r--lisp/faces.el12
1 files changed, 8 insertions, 4 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index a9d26de604..2a0badab37 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -588,10 +588,14 @@ It must be one of the symbols `ultra-condensed', `extra-condensed',
`:height'
-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.
+VALUE specifies the height of the font, in either absolute or relative
+terms. An absolute height is an integer, and specifies font height in
+units of 1/10 pt. A relative height is either a floating point number,
+which specifies a scaling factor for the underlying face height;
+or a function that takes a single argument (the underlying face height)
+and returns the new height. Note that for the `default' face,
+you can only specify an absolute height (since there is nothing
+for it to be relative to).
`:weight'