groff-commit
[Top][All Lists]
Advanced

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

[groff] 20/38: [man]: Fix code style nit.


From: G. Branden Robinson
Subject: [groff] 20/38: [man]: Fix code style nit.
Date: Sun, 24 Mar 2024 16:59:58 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 7f922c4be4377c507b8a7502859e72bdb84b0768
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed Mar 20 12:53:51 2024 -0500

    [man]: Fix code style nit.
    
    * tmac/an.tmac (an-reset-paragraph-spacing): Assign `an-saved-margin1`
      the value of the `BP`, not the `IN` register.  It makes no practical
      difference (because this is the "outermost" inset level), but the
      status quo ante made the inset register pushing and popping logic
      harder to reason about.  Continues commit 5d2e49f818, 9 August.
---
 ChangeLog    | 9 +++++++++
 tmac/an.tmac | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 7d1f27ba6..6c80f7799 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2024-03-20  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * tmac/an.tmac (an-reset-paragraph-spacing): Assign
+       `an-saved-margin1` the value of the `BP`, not the `IN` register.
+       It makes no practical difference (because this is the
+       "outermost" inset level), but the status quo ante made the
+       inset register pushing and popping logic harder to reason about.
+       Continues commit 5d2e49f818, 9 August.
+
 2024-03-19  Alexis <flexibeast@gmail.com>
 
        [grohtml]: Migrate from psselect(1) to ps2ps(1).
diff --git a/tmac/an.tmac b/tmac/an.tmac
index 2b3682408..debd49d8b 100644
--- a/tmac/an.tmac
+++ b/tmac/an.tmac
@@ -178,7 +178,7 @@
 .de an-reset-margin-and-inset-level
 .  nr an-inset-level 1
 .  nr an-margin \\n[BP]
-.  nr an-saved-margin1 \\n[IN]
+.  nr an-saved-margin1 \\n[BP]
 .  nr an-prevailing-indent \\n[IN]
 .  nr an-saved-prevailing-indent1 \\n[IN]
 ..



reply via email to

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