gbranden pushed a commit to branch master
in repository groff.

commit a5d2ec1d3b8bf239e1e2760331248a363387f9c1
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Mar 15 23:08:59 2024 -0500

    [man]: Fix Savannah #64267.
    
    * tmac/an.tmac (an-reset-paragraph-spacing): Restore spacing (that is,
      cancel no-space mode) to handle a "belated" call immediately after a
      paragraphing macro (`P`, `HP`, or `IP` with no marker argument).
    
    Fixes <https://savannah.gnu.org/bugs/index.php?64267>.  Thanks to Alex
    Colomar for the report.
---
 ChangeLog    | 12 ++++++++++++
 tmac/an.tmac |  3 +++
 2 files changed, 15 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 83aeab5b7..b4ff8ef6b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2024-03-15  G. Branden Robinson <[email protected]>
+
+       [man]: Fix Savannah #64267.
+
+       * tmac/an.tmac (an-reset-paragraph-spacing): Restore spacing
+       {that is, cancel no-space mode} to handle a "belated" call
+       immediately after a paragraphing macro (`P`, `HP`, or `IP` with
+       no marker argument).
+
+       Fixes <https://savannah.gnu.org/bugs/index.php?64267>.  Thanks
+       to Alex Colomar for the report.
+
 2024-03-15  G. Branden Robinson <[email protected]>
 
        [man]: Regression-test Savannah #64267.
diff --git a/tmac/an.tmac b/tmac/an.tmac
index c5b2ed256..a9f500490 100644
--- a/tmac/an.tmac
+++ b/tmac/an.tmac
@@ -170,6 +170,9 @@
 .de an-reset-paragraph-spacing
 .  ie \\n[.$] .nr PD (v;\\$1)
 .  el         .nr PD (.4v >? \n[.V])
+.  \" Restore spacing to handle a "belated" call immediately after a
+.  \" paragraphing macro (`P`, `HP`, or `IP` with no marker argument).
+.  rs
 ..
 .
 .de an-reset-margin-and-inset-level

_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to