Mercurial > emacs
diff src/indent.c @ 28537:862f955dfe92
(compute_motion): Set immediate_quit.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 10 Apr 2000 11:44:37 +0000 |
parents | 14eccbd25cae |
children | bb0cf4868e70 |
line wrap: on
line diff
--- a/src/indent.c Mon Apr 10 11:18:57 2000 +0000 +++ b/src/indent.c Mon Apr 10 11:44:37 2000 +0000 @@ -1097,7 +1097,11 @@ 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 @@ /* Nonzero if have just continued a line */ val_compute_motion.contin = (contin_hpos && prev_hpos == 0); + immediate_quit = 0; return &val_compute_motion; }