comparison src/cmds.c @ 8649:e64cf8a4bf28

(internal_self_insert): Use insert_and_inherit.
author Richard M. Stallman <rms@gnu.org>
date Sun, 28 Aug 1994 06:48:56 +0000
parents a831980bb12e
children a6be4973b11f
comparison
equal deleted inserted replaced
8648:f047d8c6db79 8649:e64cf8a4bf28
333 && !noautofill 333 && !noautofill
334 && !NILP (current_buffer->auto_fill_function) 334 && !NILP (current_buffer->auto_fill_function)
335 && current_column () > XFASTINT (current_buffer->fill_column)) 335 && current_column () > XFASTINT (current_buffer->fill_column))
336 { 336 {
337 if (c1 != '\n') 337 if (c1 != '\n')
338 insert (&c1, 1); 338 insert_and_inherit (&c1, 1);
339 call0 (current_buffer->auto_fill_function); 339 call0 (current_buffer->auto_fill_function);
340 if (c1 == '\n') 340 if (c1 == '\n')
341 insert (&c1, 1); 341 insert_and_inherit (&c1, 1);
342 hairy = 2; 342 hairy = 2;
343 } 343 }
344 else 344 else
345 insert (&c1, 1); 345 insert_and_inherit (&c1, 1);
346 synt = SYNTAX (c); 346 synt = SYNTAX (c);
347 if ((synt == Sclose || synt == Smath) 347 if ((synt == Sclose || synt == Smath)
348 && !NILP (Vblink_paren_function) && INTERACTIVE) 348 && !NILP (Vblink_paren_function) && INTERACTIVE)
349 { 349 {
350 call0 (Vblink_paren_function); 350 call0 (Vblink_paren_function);