aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c8
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 ()
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