Mercurial > emacs
comparison src/cmds.c @ 9884:cede2b87231a
(Fnewline): Always use insert_and_inherit.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Thu, 10 Nov 1994 18:51:12 +0000 |
| parents | b7f3059c308a |
| children | f44f048966e8 |
comparison
equal
deleted
inserted
replaced
| 9883:7c4393810151 | 9884:cede2b87231a |
|---|---|
| 267 SET_PT (point - 1); | 267 SET_PT (point - 1); |
| 268 | 268 |
| 269 while (XINT (arg) > 0) | 269 while (XINT (arg) > 0) |
| 270 { | 270 { |
| 271 if (flag) | 271 if (flag) |
| 272 insert (&c1, 1); | 272 insert_and_inherit (&c1, 1); |
| 273 else | 273 else |
| 274 internal_self_insert ('\n', !NILP (arg1)); | 274 internal_self_insert ('\n', !NILP (arg1)); |
| 275 /* Ok since old and new vals both nonneg */ | 275 /* Ok since old and new vals both nonneg */ |
| 276 XSETFASTINT (arg, XFASTINT (arg) - 1); | 276 XSETFASTINT (arg, XFASTINT (arg) - 1); |
| 277 } | 277 } |
