Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
28536:fd56586afd85 | 28537:862f955dfe92 |
---|---|
1095 else | 1095 else |
1096 /* If the window has its own display table, we can't use the width | 1096 /* If the window has its own display table, we can't use the width |
1097 run cache, because that's based on the buffer's display table. */ | 1097 run cache, because that's based on the buffer's display table. */ |
1098 width_table = 0; | 1098 width_table = 0; |
1099 | 1099 |
1100 if (tab_width <= 0 || tab_width > 1000) tab_width = 8; | 1100 if (tab_width <= 0 || tab_width > 1000) |
1101 tab_width = 8; | |
1102 | |
1103 immediate_quit = 1; | |
1104 QUIT; | |
1101 | 1105 |
1102 pos = prev_pos = from; | 1106 pos = prev_pos = from; |
1103 pos_byte = prev_pos_byte = CHAR_TO_BYTE (from); | 1107 pos_byte = prev_pos_byte = CHAR_TO_BYTE (from); |
1104 contin_hpos = 0; | 1108 contin_hpos = 0; |
1105 prev_tab_offset = tab_offset; | 1109 prev_tab_offset = tab_offset; |
1538 val_compute_motion.ovstring_chars_done = 0; | 1542 val_compute_motion.ovstring_chars_done = 0; |
1539 | 1543 |
1540 /* Nonzero if have just continued a line */ | 1544 /* Nonzero if have just continued a line */ |
1541 val_compute_motion.contin = (contin_hpos && prev_hpos == 0); | 1545 val_compute_motion.contin = (contin_hpos && prev_hpos == 0); |
1542 | 1546 |
1547 immediate_quit = 0; | |
1543 return &val_compute_motion; | 1548 return &val_compute_motion; |
1544 } | 1549 } |
1545 | 1550 |
1546 | 1551 |
1547 #if 0 /* The doc string is too long for some compilers, | 1552 #if 0 /* The doc string is too long for some compilers, |