gbranden pushed a commit to branch master
in repository groff.

commit 0e45ea97b086f04c55ea6a0ee1de1751636efc9e
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Apr 13 10:25:15 2026 -0500

    [troff]: Trivially refactor (4/10).
    
    Rename function to better align with terminology used in our
    documentation.
    
    * src/roff/troff/node.cpp (associate_style_with_font_position_request):
      Rename this...
      (assign_style_to_font_mounting_position_request): ...to this.
    
      (init_node_requests): Update wire-uppery of request handler to its
      name in the formatter.
---
 ChangeLog               | 6 ++++++
 src/roff/troff/node.cpp | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 0d5aa8d56..9a3971ce8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -38,6 +38,12 @@
        * src/roff/troff/node.cpp (mount_font_at_position_request)
        (read_font_identifier, zoom_font_request): Update call sites.
 
+       * src/roff/troff/node.cpp
+       (associate_style_with_font_position_request): Rename this...
+       (assign_style_to_font_mounting_position_request): ...to this.
+       (init_node_requests): Update wire-uppery of request handler to
+       its name in the formatter.
+
 2026-04-13  G. Branden Robinson <[email protected]>
 
        * src/roff/troff/node.cpp: Refactor.  Take one of
diff --git a/src/roff/troff/node.cpp b/src/roff/troff/node.cpp
index 709538fa0..cc9d4a724 100644
--- a/src/roff/troff/node.cpp
+++ b/src/roff/troff/node.cpp
@@ -6946,7 +6946,7 @@ void font_family::invalidate_fontno(int n)
   }
 }
 
-static void associate_style_with_font_position_request() // .sty
+static void assign_style_to_font_mounting_position_request() // .sty
 {
   if (!has_arg()) {
     warning(WARN_MISSING, "abstract style configuration request expects"
@@ -7605,7 +7605,7 @@ void init_node_requests()
   init_request("rfschar", remove_font_specific_character_request);
   init_request("shc", soft_hyphen_character_request);
   init_request("special", set_special_fonts_request);
-  init_request("sty", associate_style_with_font_position_request);
+  init_request("sty", assign_style_to_font_mounting_position_request);
   init_request("tkf", configure_track_kerning_request);
   init_request("uf", select_underline_font_request);
   register_dictionary.define(".fp",

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

Reply via email to