diff options
Diffstat (limited to 'src/indent.c')
-rw-r--r-- | src/indent.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/indent.c b/src/indent.c index 34449955a6c..23951a16eb6 100644 --- a/src/indent.c +++ b/src/indent.c @@ -1200,8 +1200,8 @@ compute_motion (ptrdiff_t from, ptrdiff_t frombyte, EMACS_INT fromvpos, continuation_glyph_width = 0; /* In the fringe. */ #endif - immediate_quit = 1; - QUIT; + immediate_quit = true; + maybe_quit (); /* It's just impossible to be too paranoid here. */ eassert (from == BYTE_TO_CHAR (frombyte) && frombyte == CHAR_TO_BYTE (from)); @@ -1694,7 +1694,7 @@ compute_motion (ptrdiff_t from, ptrdiff_t frombyte, EMACS_INT fromvpos, /* Nonzero if have just continued a line */ val_compute_motion.contin = (contin_hpos && prev_hpos == 0); - immediate_quit = 0; + immediate_quit = false; return &val_compute_motion; } |