diff options
author | Kenichi Handa <handa@m17n.org> | 2009-12-25 05:27:03 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 2009-12-25 05:27:03 +0000 |
commit | 31f9c37613cdc7eeffc751025c75f2635fe41dc6 (patch) | |
tree | f2287089b81824a01400d5a35a0d5b671b979ed0 /src | |
parent | f758cd2abb201dacad4a750caba40d6797ee8fb2 (diff) | |
download | emacs-31f9c37613cdc7eeffc751025c75f2635fe41dc6.tar.gz emacs-31f9c37613cdc7eeffc751025c75f2635fe41dc6.tar.bz2 emacs-31f9c37613cdc7eeffc751025c75f2635fe41dc6.zip |
(command_loop_1): Fix previous change.
Diffstat (limited to 'src')
-rw-r--r-- | src/keyboard.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 37f0ca8c83a..7a137ea0dca 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -1978,9 +1978,11 @@ command_loop_1 () && 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 |