summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 42aaf82a105..24988923e70 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -909,7 +909,6 @@ command_loop_1 ()
no_redisplay = 0;
this_command_key_count = 0;
last_command = this_command;
- last_point_position = PT;
/* Make sure this hook runs after commands that get errors and
throw to top level. */
@@ -1035,6 +1034,7 @@ command_loop_1 ()
prev_buffer = current_buffer;
prev_modiff = MODIFF;
+ last_point_position = PT;
/* Execute the command. */