comparison src/cmds.c @ 10474:caf4440e63e8

(internal_self_insert): Don't test current_column when deciding to call auto_fill_function.
author Richard M. Stallman <rms@gnu.org>
date Thu, 19 Jan 1995 04:34:02 +0000
parents f44f048966e8
children fb4f688fc2cf
comparison
equal deleted inserted replaced
10473:95868461fc78 10474:caf4440e63e8
353 if (MODIFF != modiff) 353 if (MODIFF != modiff)
354 hairy = 2; 354 hairy = 2;
355 } 355 }
356 if ((c == ' ' || c == '\n') 356 if ((c == ' ' || c == '\n')
357 && !noautofill 357 && !noautofill
358 && !NILP (current_buffer->auto_fill_function) 358 && !NILP (current_buffer->auto_fill_function))
359 && current_column () > XFASTINT (current_buffer->fill_column))
360 { 359 {
361 if (c1 != '\n') 360 if (c1 != '\n')
362 insert_and_inherit (&c1, 1); 361 insert_and_inherit (&c1, 1);
363 call0 (current_buffer->auto_fill_function); 362 call0 (current_buffer->auto_fill_function);
364 if (c1 == '\n') 363 if (c1 == '\n')