1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-28 10:51:29 -08:00

(internal_self_insert): Check Vauto_fill_chars.

This commit is contained in:
Kenichi Handa 1998-10-19 00:40:10 +00:00
parent 080434ef3e
commit 01428933ec

View 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))
{