diff options
| author | Paul Eggert | 2017-01-25 21:13:19 -0800 |
|---|---|---|
| committer | Paul Eggert | 2017-01-25 21:25:37 -0800 |
| commit | b3a3ed526d2c490c9c5605707f0cd7bff3c88693 (patch) | |
| tree | 096de6603250aafcab11c31876d39faecf1b2db4 /src/alloc.c | |
| parent | 1392ec7420ee23238a1588b759c631d87a677483 (diff) | |
| download | emacs-b3a3ed526d2c490c9c5605707f0cd7bff3c88693.tar.gz emacs-b3a3ed526d2c490c9c5605707f0cd7bff3c88693.zip | |
Replace QUIT with maybe_quit
There’s no longer need to have QUIT stand for a slug of C statements.
Use the more-obvious function-call syntax instead.
Also, use true and false when setting immediate_quit.
These changes should not affect the generated machine code.
* src/lisp.h (QUIT): Remove. All uses replaced by maybe_quit.
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c index f7da7e44f29..f7b6515f4e7 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -2880,7 +2880,7 @@ DEFUN ("make-list", Fmake_list, Smake_list, 2, 2, 0, | |||
| 2880 | for (EMACS_INT size = XFASTINT (length); 0 < size; size--) | 2880 | for (EMACS_INT size = XFASTINT (length); 0 < size; size--) |
| 2881 | { | 2881 | { |
| 2882 | val = Fcons (init, val); | 2882 | val = Fcons (init, val); |
| 2883 | QUIT; | 2883 | maybe_quit (); |
| 2884 | } | 2884 | } |
| 2885 | 2885 | ||
| 2886 | return val; | 2886 | return val; |