Mercurial > emacs
comparison src/composite.c @ 46938:2de09ed6c85b
(run_composition_function): Call FUNC if it is fboundp.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 19 Aug 2002 02:46:08 +0000 |
parents | 8166be020c03 |
children | 545e543e82d5 |
comparison
equal
deleted
inserted
replaced
46937:e406ed027b71 | 46938:2de09ed6c85b |
---|---|
460 from = start; | 460 from = start; |
461 if (to < ZV | 461 if (to < ZV |
462 && find_composition (to, -1, &start, &end, &prop, Qnil) | 462 && find_composition (to, -1, &start, &end, &prop, Qnil) |
463 && !COMPOSITION_VALID_P (start, end, prop)) | 463 && !COMPOSITION_VALID_P (start, end, prop)) |
464 to = end; | 464 to = end; |
465 if (!NILP (func)) | 465 if (!NILP (Ffbounpd (func))) |
466 call2 (func, make_number (from), make_number (to)); | 466 call2 (func, make_number (from), make_number (to)); |
467 else if (!NILP (Ffboundp (Vcompose_chars_after_function))) | 467 else if (!NILP (Ffboundp (Vcompose_chars_after_function))) |
468 call3 (Vcompose_chars_after_function, | 468 call3 (Vcompose_chars_after_function, |
469 make_number (from), make_number (to), Qnil); | 469 make_number (from), make_number (to), Qnil); |
470 } | 470 } |