Mercurial > emacs
comparison src/buffer.c @ 9950:605bd2a8f816
(overlays_at): Use the new type-test macros.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 15 Nov 1994 23:54:26 +0000 |
parents | 686916b836b4 |
children | 8d3a71736423 |
comparison
equal
deleted
inserted
replaced
9949:e9d341f235ee | 9950:605bd2a8f816 |
---|---|
1359 int next = ZV; | 1359 int next = ZV; |
1360 int prev = BEGV; | 1360 int prev = BEGV; |
1361 int inhibit_storing = 0; | 1361 int inhibit_storing = 0; |
1362 | 1362 |
1363 for (tail = current_buffer->overlays_before; | 1363 for (tail = current_buffer->overlays_before; |
1364 XGCTYPE (tail) == Lisp_Cons; | 1364 GC_CONSP (tail); |
1365 tail = XCONS (tail)->cdr) | 1365 tail = XCONS (tail)->cdr) |
1366 { | 1366 { |
1367 int startpos, endpos; | 1367 int startpos, endpos; |
1368 | 1368 |
1369 overlay = XCONS (tail)->car; | 1369 overlay = XCONS (tail)->car; |
1404 else if (startpos < next) | 1404 else if (startpos < next) |
1405 next = startpos; | 1405 next = startpos; |
1406 } | 1406 } |
1407 | 1407 |
1408 for (tail = current_buffer->overlays_after; | 1408 for (tail = current_buffer->overlays_after; |
1409 XGCTYPE (tail) == Lisp_Cons; | 1409 GC_CONSP (tail); |
1410 tail = XCONS (tail)->cdr) | 1410 tail = XCONS (tail)->cdr) |
1411 { | 1411 { |
1412 int startpos, endpos; | 1412 int startpos, endpos; |
1413 | 1413 |
1414 overlay = XCONS (tail)->car; | 1414 overlay = XCONS (tail)->car; |