#include "commands.h"
#include "buffer.h"
+#include "keyboard.h"
Lisp_Object Qstring_lessp;
while (!NILP (tail))
{
tem = Fcar (tail);
- if (Fequal (elt, tem))
+ if (! NILP (Fequal (elt, tem)))
{
if (NILP (prev))
list = Fcdr (tail);
if (ans == 7 || ans == '\035')
Vquit_flag = Qt;
QUIT;
+
+ /* If we don't clear this, then the next call to read_char will
+ return quit_char again, and we'll enter an infinite loop. */
+ Vquit_flag = Qnil;
if (ans >= 0)
ans = DOWNCASE (ans);
if (ans == 'y' || ans == ' ')