From 01428933ec32087243ad80947484b0a489bb63b5 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Mon, 19 Oct 1998 00:40:10 +0000 Subject: [PATCH] (internal_self_insert): Check Vauto_fill_chars. --- src/cmds.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)) { -- 2.39.2