From e2de82aa01818f2fc4234a7828574eb5aa607753 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Mon, 19 Aug 2002 02:54:10 +0000 Subject: [PATCH] (run_composition_function): Call FUNC if it is fboundp. --- src/composite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.39.5