Mercurial > emacs
changeset 9322:0dceca89f978
(record_delete, record_first_change): Don't use XFASTINT as an lvalue.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 04 Oct 1994 16:15:52 +0000 |
parents | e6759002383c |
children | d428ab51a1bc |
files | src/undo.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/undo.c Tue Oct 04 16:14:59 1994 +0000 +++ b/src/undo.c Tue Oct 04 16:15:52 1994 +0000 @@ -111,9 +111,9 @@ if (point == beg + length) XSETINT (sbeg, -beg); else - XFASTINT (sbeg) = beg; - XFASTINT (lbeg) = beg; - XFASTINT (lend) = beg + length; + XSETFASTINT (sbeg, beg); + XSETFASTINT (lbeg, beg); + XSETFASTINT (lend, beg + length); /* If we are just after an undo boundary, and point wasn't at start of deleted range, record where it was. */ @@ -154,8 +154,8 @@ Fundo_boundary (); XSETBUFFER (last_undo_buffer, current_buffer); - XFASTINT (high) = (current_buffer->modtime >> 16) & 0xffff; - XFASTINT (low) = current_buffer->modtime & 0xffff; + XSETFASTINT (high, (current_buffer->modtime >> 16) & 0xffff); + XSETFASTINT (low, current_buffer->modtime & 0xffff); current_buffer->undo_list = Fcons (Fcons (Qt, Fcons (high, low)), current_buffer->undo_list); }