branch: elpa/adoc-mode commit 49bbd9a202b0046f7393c7950766b88aeff96777 Author: Tobias Zawada <t...@esi-group.com> Commit: TobiasZawada <i...@tn-home.de>
[#33] Describe purpose of adoc-kwf-search --- adoc-mode.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/adoc-mode.el b/adoc-mode.el index 86945c26ea..1ea31062de 100644 --- a/adoc-mode.el +++ b/adoc-mode.el @@ -1561,7 +1561,9 @@ Subgroups of returned regexp: Like `re-search-forward' with the same arguments REGEXP, BOUND, NOERROR and COUNT. If a match for REGEXP is found where the text property -`adoc-code-block' is non-nil continue the search." +`adoc-code-block' is non-nil continue the search. +This speeds up the search and avoids the application of +adoc-syntax to code blocks." (let (ret) (while (and (setq ret (re-search-forward regexp bound noerror count))