diff options
| author | Gerd Moellmann | 1999-11-02 13:25:16 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-11-02 13:25:16 +0000 |
| commit | a69a6e61d4d9f9ce354034ccce5d64d466723769 (patch) | |
| tree | 589130e61f74614910e04dc20d40b9a74e1cb74c /src | |
| parent | 87e21fbd58934c09c3211ecfae2efa7680804090 (diff) | |
| download | emacs-a69a6e61d4d9f9ce354034ccce5d64d466723769.tar.gz emacs-a69a6e61d4d9f9ce354034ccce5d64d466723769.zip | |
(QUIT): Give it statement form.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/lisp.h | 11 |
2 files changed, 12 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index b1111d3876b..aca01812d4f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 1999-11-02 Gerd Moellmann <gerd@gnu.org> | ||
| 2 | |||
| 3 | * lisp.h (QUIT): Give it statement form. | ||
| 4 | |||
| 1 | 1999-11-02 Dave Love <fx@gnu.org> | 5 | 1999-11-02 Dave Love <fx@gnu.org> |
| 2 | 6 | ||
| 3 | * eval.c (init_eval): Conditionalize declaration of gcpro_level. | 7 | * eval.c (init_eval): Conditionalize declaration of gcpro_level. |
diff --git a/src/lisp.h b/src/lisp.h index 5dbc8505ba0..66ef6a5eb97 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -1499,9 +1499,14 @@ extern char *stack_bottom; | |||
| 1499 | This is a good thing to do around a loop that has no side effects | 1499 | This is a good thing to do around a loop that has no side effects |
| 1500 | and (in particular) cannot call arbitrary Lisp code. */ | 1500 | and (in particular) cannot call arbitrary Lisp code. */ |
| 1501 | 1501 | ||
| 1502 | #define QUIT \ | 1502 | #define QUIT \ |
| 1503 | if (!NILP (Vquit_flag) && NILP (Vinhibit_quit)) \ | 1503 | do { \ |
| 1504 | { Vquit_flag = Qnil; Fsignal (Qquit, Qnil); } | 1504 | if (!NILP (Vquit_flag) && NILP (Vinhibit_quit)) \ |
| 1505 | { \ | ||
| 1506 | Vquit_flag = Qnil; \ | ||
| 1507 | Fsignal (Qquit, Qnil); \ | ||
| 1508 | } \ | ||
| 1509 | } while (0) | ||
| 1505 | 1510 | ||
| 1506 | /* Nonzero if ought to quit now. */ | 1511 | /* Nonzero if ought to quit now. */ |
| 1507 | 1512 | ||