mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
(internal_self_insert): Don't test current_column
when deciding to call auto_fill_function.
This commit is contained in:
parent
9a04e20535
commit
3de15b7ad1
@ -355,8 +355,7 @@ internal_self_insert (c1, noautofill)
|
||||
}
|
||||
if ((c == ' ' || c == '\n')
|
||||
&& !noautofill
|
||||
&& !NILP (current_buffer->auto_fill_function)
|
||||
&& current_column () > XFASTINT (current_buffer->fill_column))
|
||||
&& !NILP (current_buffer->auto_fill_function))
|
||||
{
|
||||
if (c1 != '\n')
|
||||
insert_and_inherit (&c1, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user