diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/cmds.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cmds.c b/src/cmds.c index e09261fc789..c6a94b1f3b8 100644 --- a/src/cmds.c +++ b/src/cmds.c | |||
| @@ -468,7 +468,9 @@ internal_self_insert (c, noautofill) | |||
| 468 | else | 468 | else |
| 469 | insert_and_inherit (str, len); | 469 | insert_and_inherit (str, len); |
| 470 | 470 | ||
| 471 | if ((c == ' ' || c == '\n') | 471 | if ((CHAR_TABLE_P (Vauto_fill_chars) |
| 472 | ? !NILP (CHAR_TABLE_REF (Vauto_fill_chars, c)) | ||
| 473 | : (c == ' ' || c == '\n')) | ||
| 472 | && !noautofill | 474 | && !noautofill |
| 473 | && !NILP (current_buffer->auto_fill_function)) | 475 | && !NILP (current_buffer->auto_fill_function)) |
| 474 | { | 476 | { |