changeset 12163:4a83c7459b52

(internal_self_insert): Make last_command be kboard-local.
author Karl Heuer <kwzh@gnu.org>
date Fri, 09 Jun 1995 03:05:04 +0000
parents f670e669470b
children f40837862599
files src/cmds.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cmds.c	Fri Jun 09 03:04:43 1995 +0000
+++ b/src/cmds.c	Fri Jun 09 03:05:04 1995 +0000
@@ -24,6 +24,7 @@
 #include "buffer.h"
 #include "syntax.h"
 #include "window.h"
+#include "keyboard.h"
 
 Lisp_Object Qkill_forward_chars, Qkill_backward_chars, Vblink_paren_function;
 
@@ -301,7 +302,7 @@
 #ifdef HAVE_FACES
   /* If previous command specified a face to use, use it.  */
   if (!NILP (Vself_insert_face)
-      && EQ (last_command, Vself_insert_face_command))
+      && EQ (current_kboard->Vlast_command, Vself_insert_face_command))
     {
       Lisp_Object before, after;
       XSETINT (before, PT - 1);