From: Karl Heuer Date: Fri, 9 Jun 1995 03:05:04 +0000 (+0000) Subject: (internal_self_insert): Make last_command be kboard-local. X-Git-Tag: emacs-19.34~3696 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=346e0c2d17ada1d0ccd392326258036cae57572b;p=emacs.git (internal_self_insert): Make last_command be kboard-local. --- 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);