From: Karl Heuer Date: Fri, 9 Jun 1995 03:05:13 +0000 (+0000) Subject: (Fminibuffer_complete): Make last_command be kboard-local. X-Git-Tag: emacs-19.34~3695 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5221fd6372149da168d3c8fd6fc3732593b81c3a;p=emacs.git (Fminibuffer_complete): Make last_command be kboard-local. --- diff --git a/src/minibuf.c b/src/minibuf.c index 84b73c302c6..91e622a617c 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -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;