aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorDmitry Antipov2012-07-06 13:20:41 +0400
committerDmitry Antipov2012-07-06 13:20:41 +0400
commit90fc47863786e39b2000866592402a7af05f3dfb (patch)
treeeb9bd2cd6dbf1d0a4e51d6fa74f5a78a18b204dc /src/ChangeLog
parent4e57b342c5713d900b93ffde70cf7bb9150ca8fd (diff)
downloademacs-90fc47863786e39b2000866592402a7af05f3dfb.tar.gz
emacs-90fc47863786e39b2000866592402a7af05f3dfb.zip
Compile marker debugging code only if ENABLE_CHECKING is defined.
* marker.c (byte_char_debug_check, count_markers): Use only if ENABLE_CHECKING is defined. (byte_debug_flag): Remove. (CONSIDER, buf_charpos_to_bytepos, buf_bytepos_to_charpos): Always call byte_char_debug_check if ENABLE_CHECKING is defined.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 5e28882e6b3..986c398b7fc 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,14 @@
12012-07-06 Dmitry Antipov <dmantipov@yandex.ru> 12012-07-06 Dmitry Antipov <dmantipov@yandex.ru>
2 2
3 Compile marker debugging code only if ENABLE_CHECKING is defined.
4 * marker.c (byte_char_debug_check, count_markers): Use
5 only if ENABLE_CHECKING is defined.
6 (byte_debug_flag): Remove.
7 (CONSIDER, buf_charpos_to_bytepos, buf_bytepos_to_charpos):
8 Always call byte_char_debug_check if ENABLE_CHECKING is defined.
9
102012-07-06 Dmitry Antipov <dmantipov@yandex.ru>
11
3 Avoid code repetition in marker-related functions. 12 Avoid code repetition in marker-related functions.
4 * marker.c (attach_marker): New function. 13 * marker.c (attach_marker): New function.
5 (Fset_marker, set_marker_restricted, set_marker_both) 14 (Fset_marker, set_marker_restricted, set_marker_both)