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:
parent
080434ef3e
commit
01428933ec
1 changed files with 3 additions and 1 deletions
|
|
@ -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))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue