From 5221fd6372149da168d3c8fd6fc3732593b81c3a Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Fri, 9 Jun 1995 03:05:13 +0000 Subject: [PATCH] (Fminibuffer_complete): Make last_command be kboard-local. --- src/minibuf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.2