gbranden pushed a commit to branch master
in repository groff.
commit f5c7ac7b20d1117f68bf7a0a4cff74463402dfda
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Oct 8 05:50:58 2025 -0500
Revert "groff_man*(7): Quote inline code examples."
This reverts commit f400e311c70e5feef3491e9231378675c44eb20f.
I liked it better the old way, where searching for the macro name with a
leading dot finds only macro definitions (either the short one in the
summary table or the full description) or displayed code examples.
---
tmac/groff_man.7.man.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tmac/groff_man.7.man.in b/tmac/groff_man.7.man.in
index d2baa667e..0507d0061 100644
--- a/tmac/groff_man.7.man.in
+++ b/tmac/groff_man.7.man.in
@@ -3431,7 +3431,7 @@ in bold and
one point smaller than the default type size.
.
Given no argument,
-.RB \[lq] .SB \[rq]
+.B SB
plants a one-line input trap;
text on the next line,
which can be further formatted with a macro,
@@ -3443,10 +3443,10 @@ an extension originating in SunOS\~4.0
.\" ...and which Clark included in groff man(7) from 1.01 or earlier...
is deprecated.
.
-.RB \[lq] .SM \[rq]
+.B SM
without an argument,
followed immediately by
-.RB \[lq] .B
+.RB \[lq] B
.IR text \[rq],
produces the same output more portably.
.
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit