diff src/minibuf.c @ 12164:f40837862599

(Fminibuffer_complete): Make last_command be kboard-local.
author Karl Heuer <kwzh@gnu.org>
date Fri, 09 Jun 1995 03:05:13 +0000
parents c174158fff45
children ab75fc26058e
line wrap: on
line diff
--- a/src/minibuf.c	Fri Jun 09 03:05:04 1995 +0000
+++ b/src/minibuf.c	Fri Jun 09 03:05:13 1995 +0000
@@ -26,6 +26,7 @@
 #include "frame.h"
 #include "window.h"
 #include "syntax.h"
+#include "keyboard.h"
 
 #define min(a, b) ((a) < (b) ? (a) : (b))
 
@@ -1218,7 +1219,7 @@
 
   /* If the previous command was not this, then mark the completion
      buffer obsolete.  */
-  if (! EQ (last_command, this_command))
+  if (! EQ (current_kboard->Vlast_command, this_command))
     Vminibuf_scroll_window = Qnil;
 
   window = Vminibuf_scroll_window;