Mercurial > emacs
changeset 106635:0d1366f2a045
(command_loop_1): Fix previous change.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 25 Dec 2009 05:27:03 +0000 |
parents | 1f0768e4ad7e |
children | 6c68929f170b |
files | src/keyboard.c |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/keyboard.c Fri Dec 25 02:45:47 2009 +0000 +++ b/src/keyboard.c Fri Dec 25 05:27:03 2009 +0000 @@ -1978,9 +1978,11 @@ && NILP (Vdisable_point_adjustment) && NILP (Vglobal_disable_point_adjustment)) { - if (composition_adjust_point (last_point_position, - last_point_position) - != last_point_position) + if (last_point_position > BEGV + && last_point_position < ZV + && (composition_adjust_point (last_point_position, + last_point_position) + != last_point_position)) /* The last point was temporarily set within a grapheme cluster to prevent automatic composition. To recover the automatic composition, we must update the