diff options
| author | Karl Heuer | 1994-10-04 16:15:52 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-10-04 16:15:52 +0000 |
| commit | 28b2b11600620dc1a84b9be2e79a2b4de0d4e824 (patch) | |
| tree | ca852c64a06ebe3a971adfd08d1c2bf658c7fd80 | |
| parent | e9c4fbcd665eab9a4940d0cffbed8323d6e210d3 (diff) | |
| download | emacs-28b2b11600620dc1a84b9be2e79a2b4de0d4e824.tar.gz emacs-28b2b11600620dc1a84b9be2e79a2b4de0d4e824.zip | |
(record_delete, record_first_change): Don't use XFASTINT as an lvalue.
| -rw-r--r-- | src/undo.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/undo.c b/src/undo.c index be6d5062422..9fdba2f1d8f 100644 --- a/src/undo.c +++ b/src/undo.c | |||
| @@ -111,9 +111,9 @@ record_delete (beg, length) | |||
| 111 | if (point == beg + length) | 111 | if (point == beg + length) |
| 112 | XSETINT (sbeg, -beg); | 112 | XSETINT (sbeg, -beg); |
| 113 | else | 113 | else |
| 114 | XFASTINT (sbeg) = beg; | 114 | XSETFASTINT (sbeg, beg); |
| 115 | XFASTINT (lbeg) = beg; | 115 | XSETFASTINT (lbeg, beg); |
| 116 | XFASTINT (lend) = beg + length; | 116 | XSETFASTINT (lend, beg + length); |
| 117 | 117 | ||
| 118 | /* If we are just after an undo boundary, and | 118 | /* If we are just after an undo boundary, and |
| 119 | point wasn't at start of deleted range, record where it was. */ | 119 | point wasn't at start of deleted range, record where it was. */ |
| @@ -154,8 +154,8 @@ record_first_change () | |||
| 154 | Fundo_boundary (); | 154 | Fundo_boundary (); |
| 155 | XSETBUFFER (last_undo_buffer, current_buffer); | 155 | XSETBUFFER (last_undo_buffer, current_buffer); |
| 156 | 156 | ||
| 157 | XFASTINT (high) = (current_buffer->modtime >> 16) & 0xffff; | 157 | XSETFASTINT (high, (current_buffer->modtime >> 16) & 0xffff); |
| 158 | XFASTINT (low) = current_buffer->modtime & 0xffff; | 158 | XSETFASTINT (low, current_buffer->modtime & 0xffff); |
| 159 | current_buffer->undo_list = Fcons (Fcons (Qt, Fcons (high, low)), current_buffer->undo_list); | 159 | current_buffer->undo_list = Fcons (Fcons (Qt, Fcons (high, low)), current_buffer->undo_list); |
| 160 | } | 160 | } |
| 161 | 161 | ||