changeset 6178:ad3864a4e0bc

(command_loop_1): Set last_point_position to the value of point.
author Karl Heuer <kwzh@gnu.org>
date Thu, 03 Mar 1994 20:08:12 +0000
parents ac2ef13dca1b
children e2bb2d0b8a00
files src/keyboard.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Thu Mar 03 19:24:54 1994 +0000
+++ b/src/keyboard.c	Thu Mar 03 20:08:12 1994 +0000
@@ -232,6 +232,9 @@
    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 @@
   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.  */