From 346e0c2d17ada1d0ccd392326258036cae57572b Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Fri, 9 Jun 1995 03:05:04 +0000 Subject: [PATCH] (internal_self_insert): Make last_command be kboard-local. --- src/cmds.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cmds.c b/src/cmds.c index ca7e4f2127b..48e89b2cabe 100644 --- a/src/cmds.c +++ b/src/cmds.c @@ -24,6 +24,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #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 @@ internal_self_insert (c1, noautofill) #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); -- 2.39.2