(font_prop_validate): Make nil a valid value.

This commit is contained in:
Kenichi Handa 2008-05-14 10:38:43 +00:00
parent 9ec0b715e2
commit 1f09f444ca
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2008-05-14 Kenichi Handa <handa@m17n.org>
* font.c (font_prop_validate): Make nil a valid value.
2008-05-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* emacs.c (main_thread): Conditionalize on

View file

@ -566,6 +566,8 @@ font_prop_validate (idx, prop, val)
{
Lisp_Object validated;
if (NILP (val))
return val;
if (NILP (prop))
prop = *font_property_table[idx].key;
else