diff options
author | Kenichi Handa <handa@m17n.org> | 1998-10-19 00:40:10 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 1998-10-19 00:40:10 +0000 |
commit | 221e209072ff72468dff8a01cfeb0366bdda2e45 (patch) | |
tree | bf5a7fa83b8fbad9c7d15053bce70652383d14df /src | |
parent | c2a1cf81feaf1dc68d096e3755198ed9eba8f826 (diff) | |
download | emacs-221e209072ff72468dff8a01cfeb0366bdda2e45.tar.gz |
(internal_self_insert): Check Vauto_fill_chars.
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) else insert_and_inherit (str, len); - if ((c == ' ' || c == '\n') + if ((CHAR_TABLE_P (Vauto_fill_chars) + ? !NILP (CHAR_TABLE_REF (Vauto_fill_chars, c)) + : (c == ' ' || c == '\n')) && !noautofill && !NILP (current_buffer->auto_fill_function)) { |