From 248adb4b770e5c14f50dc8ad21ce9fa44f89a586 Mon Sep 17 00:00:00 2001 From: "Basil L. Contovounesios" Date: Sun, 1 Oct 2023 18:42:52 +0200 Subject: [PATCH] ; Fix mistyped --enable-checking in docs. --- doc/lispref/searching.texi | 2 +- src/itree.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi index 54b4e6f3a57..cb269fcacc5 100644 --- a/doc/lispref/searching.texi +++ b/doc/lispref/searching.texi @@ -1980,7 +1980,7 @@ to read at least the description of the @code{re_opcode_t} type in the @code{src/regex-emacs.c} file in Emacs' source code. It is currently able to give a meaningful description only if Emacs -was compiled with @code{--enable_checking}. +was compiled with @code{--enable-checking}. @end defun @node Regexp Search diff --git a/src/itree.c b/src/itree.c index ecf7d67422a..259cc99d3af 100644 --- a/src/itree.c +++ b/src/itree.c @@ -278,7 +278,7 @@ check_subtree (struct itree_node *node, This runs in constant time when ENABLE_OVERLAY_CHECKING is 0 (i.e. Emacs is not configured with - "--enable_checking=yes,overlays"). In this mode it can't check all + "--enable-checking=yes,overlays"). In this mode it can't check all the invariants. When ENABLE_OVERLAY_CHECKING is 1 it checks the entire tree and validates all invariants. */ -- 2.39.5