gbranden pushed a commit to branch master
in repository groff.

commit 16fe833f0ae094516aafd4c1b591f21d3a4ba112
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Sep 6 18:57:04 2022 -0500

    [mdoc]: Relieve `Dt` of reinitialization duty.
    
    * tmac/mdoc/doc-common (Dt): Stop reinitializing `doc-volume` and
      `doc-section`.  This is the job of package initialization (and, soon,
      the end-of-input macro).
    
    Fixes <https://savannah.gnu.org/bugs/?62774> (2/7).
---
 ChangeLog            | 8 ++++++++
 tmac/mdoc/doc-common | 4 ----
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 7ea35ed78..31480835f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2022-09-06  G. Branden Robinson <[email protected]>
+
+       * tmac/mdoc/doc-common (Dt): Stop reinitializing `doc-volume`
+       and `doc-section`.  This is the job of package initialization
+       {and, soon, the end-of-input macro}.
+
+       Fixes <https://savannah.gnu.org/bugs/?62774> (2/7).
+
 2022-09-06  G. Branden Robinson <[email protected]>
 
        * tmac/mdoc/doc-common: Populate default date string
diff --git a/tmac/mdoc/doc-common b/tmac/mdoc/doc-common
index 0d1327cf6..7dc144f51 100644
--- a/tmac/mdoc/doc-common
+++ b/tmac/mdoc/doc-common
@@ -340,10 +340,6 @@
 .
 .eo
 .de Dt
-.  \" reset default arguments
-.  ds doc-volume LOCAL
-.  ds doc-section \" empty
-.
 .  if !"\$1"" \
 .    ds doc-document-title "\$1
 .

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

Reply via email to