aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1995-06-09 03:05:13 +0000
committerKarl Heuer1995-06-09 03:05:13 +0000
commit5221fd6372149da168d3c8fd6fc3732593b81c3a (patch)
treedfd60a6aa84417af20ea33e8b8350eeed24fe8af /src
parent346e0c2d17ada1d0ccd392326258036cae57572b (diff)
downloademacs-5221fd6372149da168d3c8fd6fc3732593b81c3a.tar.gz
emacs-5221fd6372149da168d3c8fd6fc3732593b81c3a.zip
(Fminibuffer_complete): Make last_command be kboard-local.
Diffstat (limited to 'src')
-rw-r--r--src/minibuf.c3
1 files changed, 2 insertions, 1 deletions
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. */
26#include "frame.h" 26#include "frame.h"
27#include "window.h" 27#include "window.h"
28#include "syntax.h" 28#include "syntax.h"
29#include "keyboard.h"
29 30
30#define min(a, b) ((a) < (b) ? (a) : (b)) 31#define min(a, b) ((a) < (b) ? (a) : (b))
31 32
@@ -1218,7 +1219,7 @@ scroll the window of possible completions.")
1218 1219
1219 /* If the previous command was not this, then mark the completion 1220 /* If the previous command was not this, then mark the completion
1220 buffer obsolete. */ 1221 buffer obsolete. */
1221 if (! EQ (last_command, this_command)) 1222 if (! EQ (current_kboard->Vlast_command, this_command))
1222 Vminibuf_scroll_window = Qnil; 1223 Vminibuf_scroll_window = Qnil;
1223 1224
1224 window = Vminibuf_scroll_window; 1225 window = Vminibuf_scroll_window;