Mercurial > emacs
comparison src/keyboard.c @ 6204:ba6268a3dee9
(command_loop_1): Fix misplaced assignment of last_point_position.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Sat, 05 Mar 1994 03:58:45 +0000 |
parents | ad3864a4e0bc |
children | db4139d43f8a |
comparison
equal
deleted
inserted
replaced
6203:e353e98cdd77 | 6204:ba6268a3dee9 |
---|---|
907 | 907 |
908 nonundocount = 0; | 908 nonundocount = 0; |
909 no_redisplay = 0; | 909 no_redisplay = 0; |
910 this_command_key_count = 0; | 910 this_command_key_count = 0; |
911 last_command = this_command; | 911 last_command = this_command; |
912 last_point_position = PT; | |
913 | 912 |
914 /* Make sure this hook runs after commands that get errors and | 913 /* Make sure this hook runs after commands that get errors and |
915 throw to top level. */ | 914 throw to top level. */ |
916 if (!NILP (Vpost_command_hook)) | 915 if (!NILP (Vpost_command_hook)) |
917 { | 916 { |
1033 Perhaps someday we will really implement it. */ | 1032 Perhaps someday we will really implement it. */ |
1034 no_redisplay = 0; | 1033 no_redisplay = 0; |
1035 | 1034 |
1036 prev_buffer = current_buffer; | 1035 prev_buffer = current_buffer; |
1037 prev_modiff = MODIFF; | 1036 prev_modiff = MODIFF; |
1037 last_point_position = PT; | |
1038 | 1038 |
1039 /* Execute the command. */ | 1039 /* Execute the command. */ |
1040 | 1040 |
1041 this_command = cmd; | 1041 this_command = cmd; |
1042 if (!NILP (Vpre_command_hook)) | 1042 if (!NILP (Vpre_command_hook)) |