Mercurial > emacs
comparison src/keyboard.c @ 106635:0d1366f2a045
(command_loop_1): Fix previous change.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 25 Dec 2009 05:27:03 +0000 |
parents | 389860cebad8 |
children | 04c6036b9437 |
comparison
equal
deleted
inserted
replaced
106634:1f0768e4ad7e | 106635:0d1366f2a045 |
---|---|
1976 if (current_buffer == prev_buffer | 1976 if (current_buffer == prev_buffer |
1977 && last_point_position != PT | 1977 && last_point_position != PT |
1978 && NILP (Vdisable_point_adjustment) | 1978 && NILP (Vdisable_point_adjustment) |
1979 && NILP (Vglobal_disable_point_adjustment)) | 1979 && NILP (Vglobal_disable_point_adjustment)) |
1980 { | 1980 { |
1981 if (composition_adjust_point (last_point_position, | 1981 if (last_point_position > BEGV |
1982 last_point_position) | 1982 && last_point_position < ZV |
1983 != last_point_position) | 1983 && (composition_adjust_point (last_point_position, |
1984 last_point_position) | |
1985 != last_point_position)) | |
1984 /* The last point was temporarily set within a grapheme | 1986 /* The last point was temporarily set within a grapheme |
1985 cluster to prevent automatic composition. To recover | 1987 cluster to prevent automatic composition. To recover |
1986 the automatic composition, we must update the | 1988 the automatic composition, we must update the |
1987 display. */ | 1989 display. */ |
1988 windows_or_buffers_changed++; | 1990 windows_or_buffers_changed++; |