diff options
| author | Kenichi Handa | 1998-10-19 00:40:10 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1998-10-19 00:40:10 +0000 |
| commit | 01428933ec32087243ad80947484b0a489bb63b5 (patch) | |
| tree | 8aaf6f54f36b04a556c0a582a5c7208ccacbaf0d /src/cmds.c | |
| parent | 080434ef3e1def62f705004679432ccee7523f16 (diff) | |
| download | emacs-01428933ec32087243ad80947484b0a489bb63b5.tar.gz emacs-01428933ec32087243ad80947484b0a489bb63b5.zip | |
(internal_self_insert): Check Vauto_fill_chars.
Diffstat (limited to 'src/cmds.c')
| -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 | { |