]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fminibuffer_complete): Make last_command be kboard-local.
authorKarl Heuer <kwzh@gnu.org>
Fri, 9 Jun 1995 03:05:13 +0000 (03:05 +0000)
committerKarl Heuer <kwzh@gnu.org>
Fri, 9 Jun 1995 03:05:13 +0000 (03:05 +0000)
src/minibuf.c

index 84b73c302c66513586900ca8ebeadb98fae775a9..91e622a617c49cf2c08cd21e8e3da2e3a5f0855a 100644 (file)
@@ -26,6 +26,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include "frame.h"
 #include "window.h"
 #include "syntax.h"
+#include "keyboard.h"
 
 #define min(a, b) ((a) < (b) ? (a) : (b))
 
@@ -1218,7 +1219,7 @@ scroll the window of possible completions.")
 
   /* 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;