changeset 23487:6bed0cb78b71

(internal_self_insert): Check Vauto_fill_chars.
author Kenichi Handa <handa@m17n.org>
date Mon, 19 Oct 1998 00:40:10 +0000
parents 427877c8fe78
children 958ab288116d
files src/cmds.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cmds.c	Sat Oct 17 20:20:46 1998 +0000
+++ b/src/cmds.c	Mon Oct 19 00:40:10 1998 +0000
@@ -468,7 +468,9 @@
   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))
     {