diff options
| author | Glenn Morris | 2011-02-02 22:55:48 -0800 |
|---|---|---|
| committer | Glenn Morris | 2011-02-02 22:55:48 -0800 |
| commit | 95838641ae01abb8589c99512dfd5ed6bccf25dc (patch) | |
| tree | ac3ebdc3d03029fdf522e7ad5d8a5d35d5df5177 /lisp | |
| parent | 1cb274e286c7b69ce5d1fa799396379905dd69e7 (diff) | |
| download | emacs-95838641ae01abb8589c99512dfd5ed6bccf25dc.tar.gz emacs-95838641ae01abb8589c99512dfd5ed6bccf25dc.zip | |
Doc fixes related to face heights. (Bug#2659)
* lisp/faces.el (set-face-attribute): Doc fix.
* src/xfaces.c (Finternal_set_lisp_face_attribute):
Try to clarify some error messages.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/faces.el | 12 |
2 files changed, 12 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3b8da6fa373..6d0a352ca3c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2011-02-03 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * faces.el (set-face-attribute): Doc fix. (Bug#2659) | ||
| 4 | |||
| 1 | 2011-02-02 Stefan Monnier <monnier@iro.umontreal.ca> | 5 | 2011-02-02 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 6 | ||
| 3 | * pcomplete.el (pcomplete-here*): Backport fix for mistaken change | 7 | * pcomplete.el (pcomplete-here*): Backport fix for mistaken change |
diff --git a/lisp/faces.el b/lisp/faces.el index a3831084ad8..4a4acefa04c 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -616,10 +616,14 @@ It must be one of the symbols `ultra-condensed', `extra-condensed', | |||
| 616 | 616 | ||
| 617 | `:height' | 617 | `:height' |
| 618 | 618 | ||
| 619 | VALUE must be either an integer specifying the height of the font to use | 619 | VALUE specifies the height of the font, in either absolute or relative |
| 620 | in 1/10 pt, a floating point number specifying the amount by which to | 620 | terms. An absolute height is an integer, and specifies font height in |
| 621 | scale any underlying face, or a function, which is called with the old | 621 | units of 1/10 pt. A relative height is either a floating point number, |
| 622 | height (from the underlying face), and should return the new height. | 622 | which specifies a scaling factor for the underlying face height; |
| 623 | or a function that takes a single argument (the underlying face height) | ||
| 624 | and returns the new height. Note that for the `default' face, | ||
| 625 | you can only specify an absolute height (since there is nothing | ||
| 626 | for it to be relative to). | ||
| 623 | 627 | ||
| 624 | `:weight' | 628 | `:weight' |
| 625 | 629 | ||