From: Karl Heuer Date: Thu, 3 Mar 1994 20:08:12 +0000 (+0000) Subject: (command_loop_1): Set last_point_position to the value of point. X-Git-Tag: emacs-19.34~9674 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b453f72e5c171cc2a4102436f6d213949de5b53b;p=emacs.git (command_loop_1): Set last_point_position to the value of point. --- 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. */