diff options
| author | Karl Heuer | 1994-10-04 17:22:08 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-10-04 17:22:08 +0000 |
| commit | f58dd69bcff5d6fa16da7b8ae4667614d7bb9fa9 (patch) | |
| tree | 94b2ddbc55b605492952cc3020efdded3241860a | |
| parent | 330e7312a3b61dc3bb7b9c970e649151ed799a23 (diff) | |
| download | emacs-f58dd69bcff5d6fa16da7b8ae4667614d7bb9fa9.tar.gz emacs-f58dd69bcff5d6fa16da7b8ae4667614d7bb9fa9.zip | |
(Fself_insert_command, Fnewline): Don't use XFASTINT as an lvalue.
| -rw-r--r-- | src/cmds.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cmds.c b/src/cmds.c index d5cf5b0fedb..1e8ded46942 100644 --- a/src/cmds.c +++ b/src/cmds.c | |||
| @@ -222,7 +222,8 @@ Whichever character you type to run this command is inserted.") | |||
| 222 | else | 222 | else |
| 223 | while (XINT (arg) > 0) | 223 | while (XINT (arg) > 0) |
| 224 | { | 224 | { |
| 225 | XFASTINT (arg)--; /* Ok since old and new vals both nonneg */ | 225 | /* Ok since old and new vals both nonneg */ |
| 226 | XSETFASTINT (arg, XFASTINT (arg) - 1); | ||
| 226 | internal_self_insert (XINT (last_command_char), XFASTINT (arg) != 0); | 227 | internal_self_insert (XINT (last_command_char), XFASTINT (arg) != 0); |
| 227 | } | 228 | } |
| 228 | 229 | ||
| @@ -277,7 +278,8 @@ In Auto Fill mode, if no numeric arg, break the preceding line if it's long.") | |||
| 277 | insert (&c1, 1); | 278 | insert (&c1, 1); |
| 278 | else | 279 | else |
| 279 | internal_self_insert ('\n', !NILP (arg1)); | 280 | internal_self_insert ('\n', !NILP (arg1)); |
| 280 | XFASTINT (arg)--; /* Ok since old and new vals both nonneg */ | 281 | /* Ok since old and new vals both nonneg */ |
| 282 | XSETFASTINT (arg, XFASTINT (arg) - 1); | ||
| 281 | } | 283 | } |
| 282 | 284 | ||
| 283 | if (flag) | 285 | if (flag) |