diff options
author | Gerd Moellmann <gerd@gnu.org> | 2000-04-10 11:44:37 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2000-04-10 11:44:37 +0000 |
commit | e45001163eede99425c33eec112605b377e61d8f (patch) | |
tree | 528356ce80452e0719746f55c868b06caf8fb8de /src/indent.c | |
parent | a4aee4cf1c85114daa96ea111bac821c79f560dc (diff) | |
download | emacs-e45001163eede99425c33eec112605b377e61d8f.tar.gz |
(compute_motion): Set immediate_quit.
Diffstat (limited to 'src/indent.c')
-rw-r--r-- | src/indent.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/indent.c b/src/indent.c index 5d2dbe5ab36..486589a0464 100644 --- a/src/indent.c +++ b/src/indent.c @@ -1097,7 +1097,11 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width, run cache, because that's based on the buffer's display table. */ width_table = 0; - if (tab_width <= 0 || tab_width > 1000) tab_width = 8; + if (tab_width <= 0 || tab_width > 1000) + tab_width = 8; + + immediate_quit = 1; + QUIT; pos = prev_pos = from; pos_byte = prev_pos_byte = CHAR_TO_BYTE (from); @@ -1540,6 +1544,7 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width, /* Nonzero if have just continued a line */ val_compute_motion.contin = (contin_hpos && prev_hpos == 0); + immediate_quit = 0; return &val_compute_motion; } |