Mercurial > emacs
diff src/insdel.c @ 25662:0a7261c1d487
Use XCAR, XCDR, and XFLOAT_DATA instead of explicit member access.
author | Ken Raeburn <raeburn@raeburn.org> |
---|---|
date | Mon, 13 Sep 1999 02:23:04 +0000 |
parents | a48ea135fed4 |
children | 72f00825a576 |
line wrap: on
line diff
--- a/src/insdel.c Sun Sep 12 20:22:02 1999 +0000 +++ b/src/insdel.c Mon Sep 13 02:23:04 1999 +0000 @@ -2660,26 +2660,26 @@ /* Scan the various individual changes, accumulating the range info in BEG, END and CHANGE. */ for (tail = combine_after_change_list; CONSP (tail); - tail = XCONS (tail)->cdr) + tail = XCDR (tail)) { Lisp_Object elt; int thisbeg, thisend, thischange; /* Extract the info from the next element. */ - elt = XCONS (tail)->car; + elt = XCAR (tail); if (! CONSP (elt)) continue; - thisbeg = XINT (XCONS (elt)->car); - - elt = XCONS (elt)->cdr; + thisbeg = XINT (XCAR (elt)); + + elt = XCDR (elt); if (! CONSP (elt)) continue; - thisend = XINT (XCONS (elt)->car); - - elt = XCONS (elt)->cdr; + thisend = XINT (XCAR (elt)); + + elt = XCDR (elt); if (! CONSP (elt)) continue; - thischange = XINT (XCONS (elt)->car); + thischange = XINT (XCAR (elt)); /* Merge this range into the accumulated range. */ change += thischange;