mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-03 02:31:03 -08:00
(command_loop_1): Set last_point_position to the value of point.
This commit is contained in:
parent
cfadd37670
commit
b453f72e5c
1 changed files with 4 additions and 0 deletions
|
|
@ -232,6 +232,9 @@ Lisp_Object last_command;
|
|||
instead of the actual command. */
|
||||
Lisp_Object this_command;
|
||||
|
||||
/* The value of point when the last command was executed. */
|
||||
int last_point_position;
|
||||
|
||||
#ifdef MULTI_FRAME
|
||||
/* The frame in which the last input event occurred, or Qmacro if the
|
||||
last event came from a macro. We use this to determine when to
|
||||
|
|
@ -906,6 +909,7 @@ 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. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue