# HG changeset patch # User Gerd Moellmann # Date 941549057 0 # Node ID 8817f3f807550f7108c71c619d9e4fd7274368b3 # Parent c2138070615f5b61766625d0dd001225428fead7 (QUIT): Give it statement form. diff -r c2138070615f -r 8817f3f80755 src/lisp.h --- a/src/lisp.h Tue Nov 02 12:58:32 1999 +0000 +++ b/src/lisp.h Tue Nov 02 13:24:17 1999 +0000 @@ -1499,9 +1499,14 @@ This is a good thing to do around a loop that has no side effects and (in particular) cannot call arbitrary Lisp code. */ -#define QUIT \ - if (!NILP (Vquit_flag) && NILP (Vinhibit_quit)) \ - { Vquit_flag = Qnil; Fsignal (Qquit, Qnil); } +#define QUIT \ + do { \ + if (!NILP (Vquit_flag) && NILP (Vinhibit_quit)) \ + { \ + Vquit_flag = Qnil; \ + Fsignal (Qquit, Qnil); \ + } \ + } while (0) /* Nonzero if ought to quit now. */