From: Kenichi Handa Date: Mon, 19 Aug 2002 02:54:10 +0000 (+0000) Subject: (run_composition_function): Call FUNC if it is fboundp. X-Git-Tag: emacs-pretest-21.2.91~111 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e2de82aa01818f2fc4234a7828574eb5aa607753;p=emacs.git (run_composition_function): Call FUNC if it is fboundp. --- diff --git a/src/composite.c b/src/composite.c index c3bf6878ce3..fe0d1e1e58a 100644 --- a/src/composite.c +++ b/src/composite.c @@ -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,