Mercurial > emacs
comparison src/composite.c @ 34958:e3133339e30c
(run_composition_function): Remove unused variable
`val'.
(update_compositions): Remove unused variable `hook'.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Tue, 02 Jan 2001 13:58:26 +0000 |
parents | 414310d24f52 |
children | 029c8c1b451d |
comparison
equal
deleted
inserted
replaced
34957:30e820420803 | 34958:e3133339e30c |
---|---|
451 static void | 451 static void |
452 run_composition_function (from, to, prop) | 452 run_composition_function (from, to, prop) |
453 int from, to; | 453 int from, to; |
454 Lisp_Object prop; | 454 Lisp_Object prop; |
455 { | 455 { |
456 Lisp_Object func, val; | 456 Lisp_Object func; |
457 int start, end; | 457 int start, end; |
458 | 458 |
459 func = COMPOSITION_MODIFICATION_FUNC (prop); | 459 func = COMPOSITION_MODIFICATION_FUNC (prop); |
460 /* If an invalid composition precedes or follows, try to make them | 460 /* If an invalid composition precedes or follows, try to make them |
461 valid too. */ | 461 valid too. */ |
483 | 483 |
484 void | 484 void |
485 update_compositions (from, to, check_mask) | 485 update_compositions (from, to, check_mask) |
486 int from, to; | 486 int from, to; |
487 { | 487 { |
488 Lisp_Object prop, hook; | 488 Lisp_Object prop; |
489 int start, end; | 489 int start, end; |
490 | 490 |
491 /* If FROM and TO are not in a valid range, do nothing. */ | 491 /* If FROM and TO are not in a valid range, do nothing. */ |
492 if (! (BEGV <= from && from <= to && to <= ZV)) | 492 if (! (BEGV <= from && from <= to && to <= ZV)) |
493 return; | 493 return; |