groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 33/39: [mdoc]: Fix code style nit.


From: G. Branden Robinson
Subject: [groff] 33/39: [mdoc]: Fix code style nit.
Date: Sat, 29 Oct 2022 15:00:00 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 174cf96ae9eacea402e0aaa5e640a0537369d6fd
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Oct 29 11:44:23 2022 -0500

    [mdoc]: Fix code style nit.
    
    * tmac/mdoc/doc-common (Sh): Fix code style nit.  Set paragraph
      indentation absolutely rather than incrementally.  mdoc(7) doesn't
      have relative inset macros like man(7)'s `RS`/`RE`, so the relative
      measurement could mislead the reader.  (The subsection heading itself
      uses an indentation of 0.)
---
 ChangeLog            | 8 ++++++++
 tmac/mdoc/doc-common | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 391be7ba1..44da47956 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2022-10-29  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * tmac/mdoc/doc-common (Sh): Fix code style nit.  Set paragraph
+       indentation absolutely rather than incrementally.  mdoc(7)
+       doesn't have relative inset macros like man(7)'s `RS`/`RE`, so
+       the relative measurement could mislead the reader.  (The
+       subsection heading itself uses an indentation of 0.)
+
 2022-10-29  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        [mdoc]: Fix Debian #1022179.
diff --git a/tmac/mdoc/doc-common b/tmac/mdoc/doc-common
index 97d3409e3..4ce95c73b 100644
--- a/tmac/mdoc/doc-common
+++ b/tmac/mdoc/doc-common
@@ -1440,7 +1440,7 @@
 .    if t \
 .      ss \n[doc-reg-Sh] \n[doc-reg-Sh1]
 .
-.    in +\n[doc-paragraph-indentation]u
+.    in \n[doc-paragraph-indentation]u
 .    ns
 .
 .    doc-check-depth



reply via email to

[Prev in Thread] Current Thread [Next in Thread]