diff options
| -rw-r--r-- | src/buffer.c | 4 | ||||
| -rw-r--r-- | src/pdumper.c | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/buffer.c b/src/buffer.c index 1bb2af98e75..2b1997fc8be 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -2933,7 +2933,7 @@ overlays_in (ptrdiff_t beg, ptrdiff_t end, bool extend, | |||
| 2933 | 2933 | ||
| 2934 | buffer_overlay_iter_start (current_buffer, beg, | 2934 | buffer_overlay_iter_start (current_buffer, beg, |
| 2935 | /* Find empty OV at Z ? */ | 2935 | /* Find empty OV at Z ? */ |
| 2936 | (end >= Z && empty) ? Z + 1 : ZV, | 2936 | (end >= ZV && empty) ? ZV + 1 : ZV, |
| 2937 | ITREE_ASCENDING); | 2937 | ITREE_ASCENDING); |
| 2938 | 2938 | ||
| 2939 | while ((node = buffer_overlay_iter_next (current_buffer))) | 2939 | while ((node = buffer_overlay_iter_next (current_buffer))) |
| @@ -2946,7 +2946,7 @@ overlays_in (ptrdiff_t beg, ptrdiff_t end, bool extend, | |||
| 2946 | else if (node->begin == end) | 2946 | else if (node->begin == end) |
| 2947 | { | 2947 | { |
| 2948 | next = node->begin; | 2948 | next = node->begin; |
| 2949 | if ((! empty || end < Z) && beg < end) | 2949 | if ((! empty || end < ZV) && beg < end) |
| 2950 | break; | 2950 | break; |
| 2951 | } | 2951 | } |
| 2952 | 2952 | ||
diff --git a/src/pdumper.c b/src/pdumper.c index 7618f5d1e87..7053c2d74f2 100644 --- a/src/pdumper.c +++ b/src/pdumper.c | |||
| @@ -2871,9 +2871,6 @@ dump_buffer (struct dump_context *ctx, const struct buffer *in_buffer) | |||
| 2871 | else | 2871 | else |
| 2872 | out->overlays = NULL; | 2872 | out->overlays = NULL; |
| 2873 | 2873 | ||
| 2874 | /* dump_field_lv_rawptr (ctx, out, buffer, &buffer->overlays, | ||
| 2875 | ?Lisp_Vectorlike?, WEIGHT_NORMAL); */ | ||
| 2876 | |||
| 2877 | dump_field_lv (ctx, out, buffer, &buffer->undo_list_, | 2874 | dump_field_lv (ctx, out, buffer, &buffer->undo_list_, |
| 2878 | WEIGHT_STRONG); | 2875 | WEIGHT_STRONG); |
| 2879 | dump_off offset = finish_dump_pvec (ctx, &out->header); | 2876 | dump_off offset = finish_dump_pvec (ctx, &out->header); |