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 /src/xfaces.c | |
| 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 'src/xfaces.c')
| -rw-r--r-- | src/xfaces.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index ecd726f4540..e9e677d1b19 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -3060,7 +3060,7 @@ FRAME 0 means change the face on all frames, and change the default | |||
| 3060 | { | 3060 | { |
| 3061 | /* The default face must have an absolute size. */ | 3061 | /* The default face must have an absolute size. */ |
| 3062 | if (!INTEGERP (value) || XINT (value) <= 0) | 3062 | if (!INTEGERP (value) || XINT (value) <= 0) |
| 3063 | signal_error ("Invalid default face height", value); | 3063 | signal_error ("Default face height not absolute and positive", value); |
| 3064 | } | 3064 | } |
| 3065 | else | 3065 | else |
| 3066 | { | 3066 | { |
| @@ -3070,7 +3070,7 @@ FRAME 0 means change the face on all frames, and change the default | |||
| 3070 | make_number (10), | 3070 | make_number (10), |
| 3071 | Qnil); | 3071 | Qnil); |
| 3072 | if (!INTEGERP (test) || XINT (test) <= 0) | 3072 | if (!INTEGERP (test) || XINT (test) <= 0) |
| 3073 | signal_error ("Invalid face height", value); | 3073 | signal_error ("Face height does not produce a positive integer", value); |
| 3074 | } | 3074 | } |
| 3075 | } | 3075 | } |
| 3076 | 3076 | ||