(font_prop_validate): Make nil a valid value.
This commit is contained in:
parent
9ec0b715e2
commit
1f09f444ca
2 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue