Commit 01428933 authored by Kenichi Handa's avatar Kenichi Handa

(internal_self_insert): Check Vauto_fill_chars.

parent 080434ef
......@@ -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))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment