diff options
Diffstat (limited to 'src')
| -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, | |||
| 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); |
| @@ -1540,6 +1544,7 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width, | |||
| 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 | ||