aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2023-01-26 10:23:58 +0200
committerEli Zaretskii2023-01-26 10:23:58 +0200
commitff9498624fcd15e2ab6264d259d089aa5f989ae6 (patch)
treec4ab70423fffaf3b18d2c7be4132ec9844d3fc61 /src
parent41f497c8bee6e36a621a6d9088636069159387a9 (diff)
downloademacs-ff9498624fcd15e2ab6264d259d089aa5f989ae6.tar.gz
emacs-ff9498624fcd15e2ab6264d259d089aa5f989ae6.zip
; * src/insdel.c (insert_from_buffer): Fix assertions.
Diffstat (limited to 'src')
-rw-r--r--src/insdel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/insdel.c b/src/insdel.c
index 33dea569b24..0e1e98664b3 100644
--- a/src/insdel.c
+++ b/src/insdel.c
@@ -1184,7 +1184,8 @@ insert_from_buffer (struct buffer *buf,
1184 update_compositions (opoint, PT, CHECK_BORDER); 1184 update_compositions (opoint, PT, CHECK_BORDER);
1185 1185
1186#ifdef HAVE_TREE_SITTER 1186#ifdef HAVE_TREE_SITTER
1187 eassert (PT_BYTE >= 0); 1187 eassert (PT_BYTE >= BEG_BYTE);
1188 eassert (obyte >= BEG_BYTE);
1188 eassert (PT_BYTE >= obyte); 1189 eassert (PT_BYTE >= obyte);
1189 treesit_record_change (obyte, obyte, PT_BYTE); 1190 treesit_record_change (obyte, obyte, PT_BYTE);
1190#endif 1191#endif