summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-10-15 10:44:12 +0300
committerEli Zaretskii <eliz@gnu.org>2022-10-15 10:44:12 +0300
commitbe30369e011e34988037f05d54e9ab3eef0c5ada (patch)
tree7c0381a93674d792e81d9bb081fe15d7cb9a702a
parent4bd3dd505e4ae3094237a554587ffa509ed4db4e (diff)
downloademacs-be30369e011e34988037f05d54e9ab3eef0c5ada.tar.gz
; Avoid incorrect indentation in an @example.
* doc/lispref/modes.texi (Search-based Fontification): Avoid incorrect indentation in an @example. Reported by Akib Azmain Turja <akib@disroot.org>.
-rw-r--r--doc/lispref/modes.texi5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index cb748606ed9..ad46708f027 100644
--- a/doc/lispref/modes.texi
+++ b/doc/lispref/modes.texi
@@ -3090,9 +3090,10 @@ match found by @var{matcher} acts as the anchor for further searches
specified by @var{anchored-highlighter}. @var{anchored-highlighter}
is a list of the following form:
+@c Don't wrap the line in the next @example, because that tends to
+@c produce ugly indentation in Info
@example
-(@var{anchored-matcher} @var{pre-form} @var{post-form}
- @var{subexp-highlighters}@dots{})
+(@var{anchored-matcher} @var{pre-form} @var{post-form} @var{subexp-highlighters}@dots{})
@end example
Here, @var{anchored-matcher}, like @var{matcher}, is either a regular