Commit 5221fd63 authored by Karl Heuer's avatar Karl Heuer
Browse files

(Fminibuffer_complete): Make last_command be kboard-local.

parent 346e0c2d
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment