[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-28 be30369e01: ; Avoid incorrect indentation in an @example.
From: |
Eli Zaretskii |
Subject: |
emacs-28 be30369e01: ; Avoid incorrect indentation in an @example. |
Date: |
Sat, 15 Oct 2022 03:45:08 -0400 (EDT) |
branch: emacs-28
commit be30369e011e34988037f05d54e9ab3eef0c5ada
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; 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>.
---
doc/lispref/modes.texi | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index cb748606ed..ad46708f02 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-28 be30369e01: ; Avoid incorrect indentation in an @example.,
Eli Zaretskii <=