summaryrefslogtreecommitdiff
path: root/src/cmds.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-06-09 03:05:04 +0000
committerKarl Heuer <kwzh@gnu.org>1995-06-09 03:05:04 +0000
commitd13f5ddec4458e94cc10a9ed6210f32193aa2040 (patch)
tree9114d848d574843fceb41b90e2c63a20dcb9a59e /src/cmds.c
parenteffd0af7b93f857c6f86aed094fe86a9508f19e6 (diff)
downloademacs-d13f5ddec4458e94cc10a9ed6210f32193aa2040.tar.gz
(internal_self_insert): Make last_command be kboard-local.
Diffstat (limited to 'src/cmds.c')
-rw-r--r--src/cmds.c3
1 files changed, 2 insertions, 1 deletions
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);