From 382abc20c49b949474960ac3251da35632c9f776 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Sun, 27 Apr 2008 09:06:42 +0000 Subject: [PATCH] (font_prop_validate): Signal `error' instead of `font'. --- src/font.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/font.c b/src/font.c index 9856c935ef6..197d7a74498 100644 --- a/src/font.c +++ b/src/font.c @@ -543,8 +543,7 @@ font_prop_validate (spec) { val = (font_property_table[i].validater) (prop, XCDR (elt)); if (EQ (val, Qerror)) - Fsignal (Qfont, list2 (build_string ("invalid font property"), - elt)); + signal_error ("invalid font property", elt); XSETCDR (elt, val); } } -- 2.39.5