groff-commit
[Top][All Lists]
Advanced

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

[groff] 20/51: [mdoc]: Relieve `Dt` of reinitialization duty.


From: G. Branden Robinson
Subject: [groff] 20/51: [mdoc]: Relieve `Dt` of reinitialization duty.
Date: Sun, 11 Sep 2022 08:15:52 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 16fe833f0ae094516aafd4c1b591f21d3a4ba112
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
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 <g.branden.robinson@gmail.com>
+
+       * 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 <g.branden.robinson@gmail.com>
 
        * 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
 .



reply via email to

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