gbranden pushed a commit to branch master
in repository groff.

commit c88f2997ec21bda65f4b421bec041da127fd597f
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Aug 11 14:31:28 2025 -0500

    tmac/s.tmac: Trivially refactor (4/4).
    
    * tmac/s.tmac (tbl*print-header): Rename this...
      (tbl*print-heading): ...to this.
    
      (tbl@top-hook, TH): Update call sites.
---
 ChangeLog   | 3 +++
 tmac/s.tmac | 8 ++++----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 62fe0e31b..1248b6561 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,9 @@
        Rename register `tbl*have-header` to `tbl*has-heading`.
        (tbl@top-hook, TH): Rename register `tbl*header-ht` to
        `tbl*heading-height`.
+       (tbl*print-header): Rename this...
+       (tbl*print-heading): ...to this.
+       (tbl@top-hook, TH): Update call sites.
 
 2025-08-11  G. Branden Robinson <[email protected]>
 
diff --git a/tmac/s.tmac b/tmac/s.tmac
index 7ec49dc7c..80ac26fb2 100644
--- a/tmac/s.tmac
+++ b/tmac/s.tmac
@@ -2030,11 +2030,11 @@ along with this program.  If not, see 
<http://www.gnu.org/licenses/>.
 ..
 .de tbl@top-hook
 .if \\n[tbl*has-heading] \{\
-.      ie \\n[.t]-\\n[tbl*heading-height]-1v .tbl*print-header
+.      ie \\n[.t]-\\n[tbl*heading-height]-1v .tbl*print-heading
 .      el .sp \\n[.t]u
 .\}
 ..
-.de tbl*print-header
+.de tbl*print-heading
 .ev nf
 .tbl*heading-diversion
 .ev
@@ -2054,12 +2054,12 @@ along with this program.  If not, see 
<http://www.gnu.org/licenses/>.
 .              @error \\*[tbl*err]
 .              rm tbl*err
 .              ds@need \\n[dn]
-.              tbl*print-header
+.              tbl*print-heading
 .      \}
 .      el \{\
 .              nr tbl*heading-height \\n[dn]
 .              ds@need \\n[dn]u+1v
-.              tbl*print-header
+.              tbl*print-heading
 .              nr tbl*has-heading 1
 .      \}
 .\}

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

Reply via email to