diff options
author | Karl Heuer <kwzh@gnu.org> | 1994-03-03 20:08:12 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1994-03-03 20:08:12 +0000 |
commit | 65fbbca0e907a6fa6e6097d930ca506fe33427ac (patch) | |
tree | 97cd1649ebdb3ac8feded27a5f99c67a7a477843 /src/keyboard.c | |
parent | e5635912fe17af0368842fc1465df8caa08e3424 (diff) | |
download | emacs-65fbbca0e907a6fa6e6097d930ca506fe33427ac.tar.gz |
(command_loop_1): Set last_point_position to the value of point.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r-- | src/keyboard.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 1ea938c654f..42aaf82a105 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -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. */ |