]> git.eshelyaron.com Git - emacs.git/commitdiff
; Avoid incorrect indentation in an @example.
authorEli Zaretskii <eliz@gnu.org>
Sat, 15 Oct 2022 07:44:12 +0000 (10:44 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 15 Oct 2022 07:44:12 +0000 (10:44 +0300)
* doc/lispref/modes.texi (Search-based Fontification): Avoid
incorrect indentation in an @example.  Reported by Akib Azmain
Turja <akib@disroot.org>.

doc/lispref/modes.texi

index cb748606ed9c70d49d1ed231285ac854223fc74a..ad46708f027aeedb283324501f2cefe994f7544b 100644 (file)
@@ -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