]> git.eshelyaron.com Git - emacs.git/commitdiff
(run_composition_function): Call FUNC if it is fboundp.
authorKenichi Handa <handa@m17n.org>
Mon, 19 Aug 2002 02:54:10 +0000 (02:54 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 19 Aug 2002 02:54:10 +0000 (02:54 +0000)
src/composite.c

index c3bf6878ce3dbbf934b084e7efd5a54acd8d529c..fe0d1e1e58a084df330d6f608f3d7852896fd40a 100644 (file)
@@ -468,7 +468,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 (Ffboundp (func)))
     call2 (func, make_number (from), make_number (to));
   else if (!NILP (Ffboundp (Vcompose_chars_after_function)))
     call3 (Vcompose_chars_after_function,