]> git.eshelyaron.com Git - emacs.git/commitdiff
(command_loop_1): Set Vdeactivate_mark to nil
authorGerd Moellmann <gerd@gnu.org>
Mon, 12 Mar 2001 15:14:11 +0000 (15:14 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 12 Mar 2001 15:14:11 +0000 (15:14 +0000)
before running the command; timer functions or process
filters may have set it.

src/keyboard.c

index d3b6cd23a42a5fc2c5e74c390fc650055e9e2da3..a536af4aae4e8dd16c0b3fc64d3b3f2960cb847d 100644 (file)
@@ -1280,10 +1280,11 @@ DEFUN ("abort-recursive-edit", Fabort_recursive_edit, Sabort_recursive_edit, 0,
 /* This is the actual command reading loop,
    sans error-handling encapsulation.  */
 
-Lisp_Object Fcommand_execute ();
-static int read_key_sequence ();
-void safe_run_hooks ();
-static void adjust_point_for_property ();
+EXFUN (Fcommand_execute, 4);
+static int read_key_sequence P_ ((Lisp_Object *, int, Lisp_Object,
+                                 int, int, int));
+void safe_run_hooks P_ ((Lisp_Object));
+static void adjust_point_for_property P_ ((int));
 
 Lisp_Object
 command_loop_1 ()
@@ -1478,6 +1479,10 @@ command_loop_1 ()
          this variable differently.  */
       Vdisable_point_adjustment = Qnil;
 
+      /* Process filters and timers may have messed with deactivate-mark.
+        reset it before we execute the command. */
+      Vdeactivate_mark = Qnil;
+
       /* Execute the command.  */
 
       Vthis_command = cmd;