(run_composition_function): Call FUNC if it is fboundp.
authorKenichi Handa <handa@m17n.org>
Mon, 19 Aug 2002 02:46:08 +0000 (02:46 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 19 Aug 2002 02:46:08 +0000 (02:46 +0000)
src/composite.c

index 9fc58bc..c618b6a 100644 (file)
@@ -462,7 +462,7 @@ run_composition_function (from, to, prop)
       && find_composition (to, -1, &start, &end, &prop, Qnil)
       && !COMPOSITION_VALID_P (start, end, prop))
     to = end;
-  if (!NILP (func))
+  if (!NILP (Ffbounpd (func)))
     call2 (func, make_number (from), make_number (to));
   else if (!NILP (Ffboundp (Vcompose_chars_after_function)))
     call3 (Vcompose_chars_after_function,