aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2011-02-02 22:55:48 -0800
committerGlenn Morris <[email protected]>2011-02-02 22:55:48 -0800
commit95838641ae01abb8589c99512dfd5ed6bccf25dc (patch)
treeac3ebdc3d03029fdf522e7ad5d8a5d35d5df5177 /src
parent1cb274e286c7b69ce5d1fa799396379905dd69e7 (diff)
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')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xfaces.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index a665fd7304..2b02030fd4 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2011-02-03 Glenn Morris <[email protected]>
+
+ * xfaces.c (Finternal_set_lisp_face_attribute):
+ Try to clarify some error messages. (Bug#2659)
+
2011-02-02 Stefan Monnier <[email protected]>
* editfns.c (save_restriction_restore): Don't forget to invalidate the
diff --git a/src/xfaces.c b/src/xfaces.c
index ecd726f454..e9e677d1b1 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
{
/* The default face must have an absolute size. */
if (!INTEGERP (value) || XINT (value) <= 0)
- signal_error ("Invalid default face height", value);
+ signal_error ("Default face height not absolute and positive", value);
}
else
{
@@ -3070,7 +3070,7 @@ FRAME 0 means change the face on all frames, and change the default
make_number (10),
Qnil);
if (!INTEGERP (test) || XINT (test) <= 0)
- signal_error ("Invalid face height", value);
+ signal_error ("Face height does not produce a positive integer", value);
}
}