]> git.eshelyaron.com Git - emacs.git/commitdiff
(internal_self_insert): Check Vauto_fill_chars.
authorKenichi Handa <handa@m17n.org>
Mon, 19 Oct 1998 00:40:10 +0000 (00:40 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 19 Oct 1998 00:40:10 +0000 (00:40 +0000)
src/cmds.c

index e09261fc7896b8b256da11b0a0ec32ebc3e59485..c6a94b1f3b8b446338e872fa901895c6d3b3e57f 100644 (file)
@@ -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))
     {