diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2012-07-29 15:20:43 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2012-07-29 15:20:43 +0400 |
commit | e2688e4ac71bd3c1f7d22f28175c4ca81eb87e43 (patch) | |
tree | c84bad8ef03f6eb995a08afdac5eb1b954c1655e /src/marker.c | |
parent | 93131e119fa0f1fe44ccbccd0b8edcf8707a892d (diff) | |
download | emacs-e2688e4ac71bd3c1f7d22f28175c4ca81eb87e43.tar.gz |
Generalize marker debugging code under MARKER_DEBUG and use eassert.
* insdel.c (CHECK_MARKERS, check_markers_debug_flag): Remove.
(gap_left, gap_right, adjust_markers_for_delete, insert_1_both)
(insert_from_string_1, insert_from_gap, insert_from_buffer_1)
(replace_range, replace_range_2, del_range_2): Change to eassert.
* marker.c (byte_char_debug_check): Adjust style.
Diffstat (limited to 'src/marker.c')
-rw-r--r-- | src/marker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/marker.c b/src/marker.c index 0a93f4c180f..4ea06c7cd57 100644 --- a/src/marker.c +++ b/src/marker.c @@ -64,7 +64,7 @@ byte_char_debug_check (struct buffer *b, ptrdiff_t charpos, ptrdiff_t bytepos) #else /* not MARKER_DEBUG */ -#define byte_char_debug_check(b,charpos,bytepos) do { } while (0) +#define byte_char_debug_check(b, charpos, bytepos) do { } while (0) #endif /* MARKER_DEBUG */ |