diff options
| author | Karl Heuer | 1995-06-09 03:05:04 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-06-09 03:05:04 +0000 |
| commit | 346e0c2d17ada1d0ccd392326258036cae57572b (patch) | |
| tree | 8bd243a1777864269e4031807623574a8e01de4e /src | |
| parent | 185fd0ecec98ff494d24b8e96cd1c165e3313931 (diff) | |
| download | emacs-346e0c2d17ada1d0ccd392326258036cae57572b.tar.gz emacs-346e0c2d17ada1d0ccd392326258036cae57572b.zip | |
(internal_self_insert): Make last_command be kboard-local.
Diffstat (limited to 'src')
| -rw-r--r-- | src/cmds.c | 3 |
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. */ | |||
| 24 | #include "buffer.h" | 24 | #include "buffer.h" |
| 25 | #include "syntax.h" | 25 | #include "syntax.h" |
| 26 | #include "window.h" | 26 | #include "window.h" |
| 27 | #include "keyboard.h" | ||
| 27 | 28 | ||
| 28 | Lisp_Object Qkill_forward_chars, Qkill_backward_chars, Vblink_paren_function; | 29 | Lisp_Object Qkill_forward_chars, Qkill_backward_chars, Vblink_paren_function; |
| 29 | 30 | ||
| @@ -301,7 +302,7 @@ internal_self_insert (c1, noautofill) | |||
| 301 | #ifdef HAVE_FACES | 302 | #ifdef HAVE_FACES |
| 302 | /* If previous command specified a face to use, use it. */ | 303 | /* If previous command specified a face to use, use it. */ |
| 303 | if (!NILP (Vself_insert_face) | 304 | if (!NILP (Vself_insert_face) |
| 304 | && EQ (last_command, Vself_insert_face_command)) | 305 | && EQ (current_kboard->Vlast_command, Vself_insert_face_command)) |
| 305 | { | 306 | { |
| 306 | Lisp_Object before, after; | 307 | Lisp_Object before, after; |
| 307 | XSETINT (before, PT - 1); | 308 | XSETINT (before, PT - 1); |