aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa1998-10-19 00:40:10 +0000
committerKenichi Handa1998-10-19 00:40:10 +0000
commit01428933ec32087243ad80947484b0a489bb63b5 (patch)
tree8aaf6f54f36b04a556c0a582a5c7208ccacbaf0d /src
parent080434ef3e1def62f705004679432ccee7523f16 (diff)
downloademacs-01428933ec32087243ad80947484b0a489bb63b5.tar.gz
emacs-01428933ec32087243ad80947484b0a489bb63b5.zip
(internal_self_insert): Check Vauto_fill_chars.
Diffstat (limited to 'src')
-rw-r--r--src/cmds.c4
1 files changed, 3 insertions, 1 deletions
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)
468 else 468 else
469 insert_and_inherit (str, len); 469 insert_and_inherit (str, len);
470 470
471 if ((c == ' ' || c == '\n') 471 if ((CHAR_TABLE_P (Vauto_fill_chars)
472 ? !NILP (CHAR_TABLE_REF (Vauto_fill_chars, c))
473 : (c == ' ' || c == '\n'))
472 && !noautofill 474 && !noautofill
473 && !NILP (current_buffer->auto_fill_function)) 475 && !NILP (current_buffer->auto_fill_function))
474 { 476 {